Skip to contentSkip to conversation

ARM: LPC32xx: common.c: Remove unnecessary header inclusion

PATCH RESEND New Jingoo Han 2 participants 2 messages Feb 12, 2014

Subsystems (3)
lore
Share & tools
lore

Jingoo Han

author
#0 lore raw

PATCH RESEND 1/1 ARM: LPC32xx: common.c: Remove unnecessary header inclusion

common.c includes some header files that are not really used.

---
Compile-tested only.

 arch/arm/mach-lpc32xx/common.c |    6 ------
 1 file changed, 6 deletions(-)
arch/arm/mach-lpc32xx/common.c +0 -6
index d7aa54c..9713c8b 100644
@@ -17,12 +17,6 @@
  */
 
 #include <linux/init.h>
-#include <linux/platform_device.h>
-#include <linux/interrupt.h>
-#include <linux/irq.h>
-#include <linux/err.h>
-#include <linux/i2c.h>
-#include <linux/i2c-pnx.h>
 #include <linux/io.h>
 
 #include <asm/mach/map.h>
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH RESEND 1/1 ARM: LPC32xx: common.c: Remove unnecessary header inclusion

Quoted 17 lines · Jingoo Han

common.c includes some header files that are not really used.

---
Compile-tested only.

 arch/arm/mach-lpc32xx/common.c |    6 ------
 1 file changed, 6 deletions(-)
arch/arm/mach-lpc32xx/common.c +0 -0
index d7aa54c..9713c8b 100644
@@ -17,12 +17,6 @@
  */
 

arch/arm/mach-lpc32xx/common.c line 22

Quoted 10 lines
arch/arm/mach-lpc32xx/common.c +0 -6
 #include <linux/init.h>
-#include <linux/platform_device.h>
-#include <linux/interrupt.h>
-#include <linux/irq.h>
-#include <linux/err.h>
-#include <linux/i2c.h>
-#include <linux/i2c-pnx.h>
 #include <linux/io.h>
 
 #include <asm/mach/map.h>