Skip to contentSkip to conversation

x86: remove duplicate includes

PATCH New Michael Opdenacker 1 participant 1 message Oct 19, 2013 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: remove duplicate includes

Found by running "make includecheck"

---
 arch/x86/kernel/cpu/intel_cacheinfo.c | 1 -
 arch/x86/kernel/smpboot.c             | 2 --
 arch/x86/platform/ce4100/ce4100.c     | 1 -
 3 files changed, 4 deletions(-)
arch/x86/kernel/cpu/intel_cacheinfo.c +0 -1
index 1414c90..b5f5dbc 100644
@@ -903,7 +903,6 @@ static int detect_cache_attributes(unsigned int cpu)
 
 #include <linux/kobject.h>
 #include <linux/sysfs.h>
-#include <linux/cpu.h>
 
 /* pointer to kobject for cpuX/cache */
 static DEFINE_PER_CPU(struct kobject *, ici_cache_kobject);
arch/x86/kernel/smpboot.c +0 -2
index 6cacab6..f4a3ae1 100644
@@ -77,8 +77,6 @@
 #include <asm/smpboot_hooks.h>
 #include <asm/i8259.h>
 
-#include <asm/realmode.h>
-
 /* State of each CPU */
 DEFINE_PER_CPU(int, cpu_state) = { 0 };
 
arch/x86/platform/ce4100/ce4100.c +0 -1
index 8244f5e..d62e74d 100644
@@ -15,7 +15,6 @@
 #include <linux/reboot.h>
 #include <linux/serial_reg.h>
 #include <linux/serial_8250.h>
-#include <linux/reboot.h>
 
 #include <asm/ce4100.h>
 #include <asm/prom.h>
Signature · 1 line
1.8.1.2