Re: [PATCH 2/5] cpuidle / ACPI : remove pointless headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday, October 19, 2012 11:51:29 AM Daniel Lezcano wrote:
> These different headers are not needed.
> 
> Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>

The kernel doesn't build for me with this patch applied (presumably
because the #defines from the previous patch were necessary after all).

Thanks,
Rafael


> ---
>  drivers/acpi/processor_idle.c |   13 -------------
>  1 files changed, 0 insertions(+), 13 deletions(-)
> 
> diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
> index 1f536a3..9aac69b 100644
> --- a/drivers/acpi/processor_idle.c
> +++ b/drivers/acpi/processor_idle.c
> @@ -28,19 +28,10 @@
>   * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   */
>  
> -#include <linux/kernel.h>
>  #include <linux/module.h>
> -#include <linux/init.h>
> -#include <linux/cpufreq.h>
> -#include <linux/slab.h>
> -#include <linux/acpi.h>
>  #include <linux/dmi.h>
> -#include <linux/moduleparam.h>
> -#include <linux/sched.h>	/* need_resched() */
> -#include <linux/pm_qos.h>
>  #include <linux/clockchips.h>
>  #include <linux/cpuidle.h>
> -#include <linux/irqflags.h>
>  
>  /*
>   * Include the apic definitions for x86 to have the APIC timer related defines
> @@ -52,12 +43,8 @@
>  #include <asm/apic.h>
>  #endif
>  
> -#include <asm/io.h>
> -#include <asm/uaccess.h>
> -
>  #include <acpi/acpi_bus.h>
>  #include <acpi/processor.h>
> -#include <asm/processor.h>
>  
>  #define PREFIX "ACPI: "
>  ACPI_MODULE_NAME("processor_idle");
> 
-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux