Thread (9 messages) 9 messages, 2 authors, 2012-10-25

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

From: Rafael J. Wysocki <hidden>
Date: 2012-10-25 23:32:21

On Friday, October 19, 2012 11:51:29 AM Daniel Lezcano wrote:
These different headers are not needed.

Signed-off-by: Daniel Lezcano <redacted>
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

quoted hunk ↗ jump to hunk
---
 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help