diff options
44 files changed, 11 insertions, 69 deletions
diff --git a/arch/arm/mach-s3c2410/h1940-bluetooth.c b/arch/arm/mach-s3c2410/h1940-bluetooth.c index 2c126bbca08d..a5eeb62ce1c2 100644 --- a/arch/arm/mach-s3c2410/h1940-bluetooth.c +++ b/arch/arm/mach-s3c2410/h1940-bluetooth.c | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <linux/leds.h> | 18 | #include <linux/leds.h> |
19 | #include <linux/gpio.h> | 19 | #include <linux/gpio.h> |
20 | #include <linux/rfkill.h> | 20 | #include <linux/rfkill.h> |
21 | #include <linux/leds.h> | ||
22 | 21 | ||
23 | #include <mach/regs-gpio.h> | 22 | #include <mach/regs-gpio.h> |
24 | #include <mach/hardware.h> | 23 | #include <mach/hardware.h> |
diff --git a/arch/mips/lantiq/devices.c b/arch/mips/lantiq/devices.c index 7b82c34cb169..44a36771c819 100644 --- a/arch/mips/lantiq/devices.c +++ b/arch/mips/lantiq/devices.c | |||
@@ -15,11 +15,9 @@ | |||
15 | #include <linux/platform_device.h> | 15 | #include <linux/platform_device.h> |
16 | #include <linux/leds.h> | 16 | #include <linux/leds.h> |
17 | #include <linux/etherdevice.h> | 17 | #include <linux/etherdevice.h> |
18 | #include <linux/reboot.h> | ||
19 | #include <linux/time.h> | 18 | #include <linux/time.h> |
20 | #include <linux/io.h> | 19 | #include <linux/io.h> |
21 | #include <linux/gpio.h> | 20 | #include <linux/gpio.h> |
22 | #include <linux/leds.h> | ||
23 | 21 | ||
24 | #include <asm/bootinfo.h> | 22 | #include <asm/bootinfo.h> |
25 | #include <asm/irq.h> | 23 | #include <asm/irq.h> |
diff --git a/arch/mips/lantiq/xway/devices.c b/arch/mips/lantiq/xway/devices.c index e09e789dfc27..d0e32ab2ea07 100644 --- a/arch/mips/lantiq/xway/devices.c +++ b/arch/mips/lantiq/xway/devices.c | |||
@@ -16,11 +16,9 @@ | |||
16 | #include <linux/platform_device.h> | 16 | #include <linux/platform_device.h> |
17 | #include <linux/leds.h> | 17 | #include <linux/leds.h> |
18 | #include <linux/etherdevice.h> | 18 | #include <linux/etherdevice.h> |
19 | #include <linux/reboot.h> | ||
20 | #include <linux/time.h> | 19 | #include <linux/time.h> |
21 | #include <linux/io.h> | 20 | #include <linux/io.h> |
22 | #include <linux/gpio.h> | 21 | #include <linux/gpio.h> |
23 | #include <linux/leds.h> | ||
24 | 22 | ||
25 | #include <asm/bootinfo.h> | 23 | #include <asm/bootinfo.h> |
26 | #include <asm/irq.h> | 24 | #include <asm/irq.h> |
diff --git a/arch/powerpc/platforms/pseries/smp.c b/arch/powerpc/platforms/pseries/smp.c index fbffd7e47ab8..cd70be5ff27e 100644 --- a/arch/powerpc/platforms/pseries/smp.c +++ b/arch/powerpc/platforms/pseries/smp.c | |||
@@ -44,7 +44,6 @@ | |||
44 | #include <asm/mpic.h> | 44 | #include <asm/mpic.h> |
45 | #include <asm/vdso_datapage.h> | 45 | #include <asm/vdso_datapage.h> |
46 | #include <asm/cputhreads.h> | 46 | #include <asm/cputhreads.h> |
47 | #include <asm/mpic.h> | ||
48 | #include <asm/xics.h> | 47 | #include <asm/xics.h> |
49 | 48 | ||
50 | #include "plpar_wrappers.h" | 49 | #include "plpar_wrappers.h" |
diff --git a/arch/s390/kvm/sie64a.S b/arch/s390/kvm/sie64a.S index 5faa1b1b23fa..cf8ec3ae2693 100644 --- a/arch/s390/kvm/sie64a.S +++ b/arch/s390/kvm/sie64a.S | |||
@@ -14,7 +14,6 @@ | |||
14 | #include <linux/errno.h> | 14 | #include <linux/errno.h> |
15 | #include <asm/asm-offsets.h> | 15 | #include <asm/asm-offsets.h> |
16 | #include <asm/setup.h> | 16 | #include <asm/setup.h> |
17 | #include <asm/asm-offsets.h> | ||
18 | #include <asm/ptrace.h> | 17 | #include <asm/ptrace.h> |
19 | #include <asm/thread_info.h> | 18 | #include <asm/thread_info.h> |
20 | 19 | ||
diff --git a/arch/s390/oprofile/init.c b/arch/s390/oprofile/init.c index 5995e9bc72d9..0c2d94b94f0b 100644 --- a/arch/s390/oprofile/init.c +++ b/arch/s390/oprofile/init.c | |||
@@ -13,8 +13,6 @@ | |||
13 | #include <linux/oprofile.h> | 13 | #include <linux/oprofile.h> |
14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
15 | #include <linux/errno.h> | 15 | #include <linux/errno.h> |
16 | #include <linux/oprofile.h> | ||
17 | #include <linux/errno.h> | ||
18 | #include <linux/fs.h> | 16 | #include <linux/fs.h> |
19 | 17 | ||
20 | #include "../../../drivers/oprofile/oprof.h" | 18 | #include "../../../drivers/oprofile/oprof.h" |
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index bd14bb4c8594..9b9f012c16d1 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include "mmu.h" | 22 | #include "mmu.h" |
23 | #include "x86.h" | 23 | #include "x86.h" |
24 | #include "kvm_cache_regs.h" | 24 | #include "kvm_cache_regs.h" |
25 | #include "x86.h" | ||
26 | 25 | ||
27 | #include <linux/kvm_host.h> | 26 | #include <linux/kvm_host.h> |
28 | #include <linux/types.h> | 27 | #include <linux/types.h> |
diff --git a/arch/xtensa/include/asm/uaccess.h b/arch/xtensa/include/asm/uaccess.h index 5b0c18c1cce1..82d4e3815c89 100644 --- a/arch/xtensa/include/asm/uaccess.h +++ b/arch/xtensa/include/asm/uaccess.h | |||
@@ -17,6 +17,7 @@ | |||
17 | #define _XTENSA_UACCESS_H | 17 | #define _XTENSA_UACCESS_H |
18 | 18 | ||
19 | #include <linux/errno.h> | 19 | #include <linux/errno.h> |
20 | #include <asm/types.h> | ||
20 | 21 | ||
21 | #define VERIFY_READ 0 | 22 | #define VERIFY_READ 0 |
22 | #define VERIFY_WRITE 1 | 23 | #define VERIFY_WRITE 1 |
@@ -26,7 +27,6 @@ | |||
26 | #include <asm/current.h> | 27 | #include <asm/current.h> |
27 | #include <asm/asm-offsets.h> | 28 | #include <asm/asm-offsets.h> |
28 | #include <asm/processor.h> | 29 | #include <asm/processor.h> |
29 | #include <asm/types.h> | ||
30 | 30 | ||
31 | /* | 31 | /* |
32 | * These assembly macros mirror the C macros that follow below. They | 32 | * These assembly macros mirror the C macros that follow below. They |
@@ -157,7 +157,6 @@ | |||
157 | #else /* __ASSEMBLY__ not defined */ | 157 | #else /* __ASSEMBLY__ not defined */ |
158 | 158 | ||
159 | #include <linux/sched.h> | 159 | #include <linux/sched.h> |
160 | #include <asm/types.h> | ||
161 | 160 | ||
162 | /* | 161 | /* |
163 | * The fs value determines whether argument validity checking should | 162 | * The fs value determines whether argument validity checking should |
diff --git a/drivers/gpio/ab8500-gpio.c b/drivers/gpio/ab8500-gpio.c index 970053c89ff7..ed795e64eea7 100644 --- a/drivers/gpio/ab8500-gpio.c +++ b/drivers/gpio/ab8500-gpio.c | |||
@@ -15,7 +15,6 @@ | |||
15 | #include <linux/module.h> | 15 | #include <linux/module.h> |
16 | #include <linux/err.h> | 16 | #include <linux/err.h> |
17 | #include <linux/platform_device.h> | 17 | #include <linux/platform_device.h> |
18 | #include <linux/slab.h> | ||
19 | #include <linux/gpio.h> | 18 | #include <linux/gpio.h> |
20 | #include <linux/irq.h> | 19 | #include <linux/irq.h> |
21 | #include <linux/interrupt.h> | 20 | #include <linux/interrupt.h> |
diff --git a/drivers/gpu/drm/nouveau/nv50_graph.c b/drivers/gpu/drm/nouveau/nv50_graph.c index e25cbb46789a..40680f2b4231 100644 --- a/drivers/gpu/drm/nouveau/nv50_graph.c +++ b/drivers/gpu/drm/nouveau/nv50_graph.c | |||
@@ -31,7 +31,6 @@ | |||
31 | #include "nouveau_grctx.h" | 31 | #include "nouveau_grctx.h" |
32 | #include "nouveau_dma.h" | 32 | #include "nouveau_dma.h" |
33 | #include "nouveau_vm.h" | 33 | #include "nouveau_vm.h" |
34 | #include "nouveau_ramht.h" | ||
35 | #include "nv50_evo.h" | 34 | #include "nv50_evo.h" |
36 | 35 | ||
37 | struct nv50_graph_engine { | 36 | struct nv50_graph_engine { |
diff --git a/drivers/media/rc/ite-cir.c b/drivers/media/rc/ite-cir.c index e716b931cf7e..cd0c44e398e3 100644 --- a/drivers/media/rc/ite-cir.c +++ b/drivers/media/rc/ite-cir.c | |||
@@ -42,7 +42,6 @@ | |||
42 | #include <linux/bitops.h> | 42 | #include <linux/bitops.h> |
43 | #include <media/rc-core.h> | 43 | #include <media/rc-core.h> |
44 | #include <linux/pci_ids.h> | 44 | #include <linux/pci_ids.h> |
45 | #include <linux/delay.h> | ||
46 | 45 | ||
47 | #include "ite-cir.h" | 46 | #include "ite-cir.h" |
48 | 47 | ||
diff --git a/drivers/media/video/m5mols/m5mols_capture.c b/drivers/media/video/m5mols/m5mols_capture.c index d71a3903b60f..e1ae5653d3b1 100644 --- a/drivers/media/video/m5mols/m5mols_capture.c +++ b/drivers/media/video/m5mols/m5mols_capture.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <linux/gpio.h> | 22 | #include <linux/gpio.h> |
23 | #include <linux/regulator/consumer.h> | 23 | #include <linux/regulator/consumer.h> |
24 | #include <linux/videodev2.h> | 24 | #include <linux/videodev2.h> |
25 | #include <linux/version.h> | ||
26 | #include <media/v4l2-ctrls.h> | 25 | #include <media/v4l2-ctrls.h> |
27 | #include <media/v4l2-device.h> | 26 | #include <media/v4l2-device.h> |
28 | #include <media/v4l2-subdev.h> | 27 | #include <media/v4l2-subdev.h> |
diff --git a/drivers/media/video/videobuf2-memops.c b/drivers/media/video/videobuf2-memops.c index 5370a3a7ee25..b03c3aea5bea 100644 --- a/drivers/media/video/videobuf2-memops.c +++ b/drivers/media/video/videobuf2-memops.c | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <linux/mm.h> | 18 | #include <linux/mm.h> |
19 | #include <linux/sched.h> | 19 | #include <linux/sched.h> |
20 | #include <linux/file.h> | 20 | #include <linux/file.h> |
21 | #include <linux/slab.h> | ||
22 | 21 | ||
23 | #include <media/videobuf2-core.h> | 22 | #include <media/videobuf2-core.h> |
24 | #include <media/videobuf2-memops.h> | 23 | #include <media/videobuf2-memops.h> |
diff --git a/drivers/net/can/c_can/c_can.c b/drivers/net/can/c_can/c_can.c index 7e5cc0bd913d..ff212916810b 100644 --- a/drivers/net/can/c_can/c_can.c +++ b/drivers/net/can/c_can/c_can.c | |||
@@ -34,7 +34,6 @@ | |||
34 | #include <linux/if_arp.h> | 34 | #include <linux/if_arp.h> |
35 | #include <linux/if_ether.h> | 35 | #include <linux/if_ether.h> |
36 | #include <linux/list.h> | 36 | #include <linux/list.h> |
37 | #include <linux/delay.h> | ||
38 | #include <linux/io.h> | 37 | #include <linux/io.h> |
39 | 38 | ||
40 | #include <linux/can.h> | 39 | #include <linux/can.h> |
diff --git a/drivers/net/can/c_can/c_can_platform.c b/drivers/net/can/c_can/c_can_platform.c index cc90824f2c9c..0b071564d1dc 100644 --- a/drivers/net/can/c_can/c_can_platform.c +++ b/drivers/net/can/c_can/c_can_platform.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <linux/if_arp.h> | 28 | #include <linux/if_arp.h> |
29 | #include <linux/if_ether.h> | 29 | #include <linux/if_ether.h> |
30 | #include <linux/list.h> | 30 | #include <linux/list.h> |
31 | #include <linux/delay.h> | ||
32 | #include <linux/io.h> | 31 | #include <linux/io.h> |
33 | #include <linux/platform_device.h> | 32 | #include <linux/platform_device.h> |
34 | #include <linux/clk.h> | 33 | #include <linux/clk.h> |
diff --git a/drivers/net/sungem.c b/drivers/net/sungem.c index ab5930099267..70f018d37399 100644 --- a/drivers/net/sungem.c +++ b/drivers/net/sungem.c | |||
@@ -66,15 +66,14 @@ | |||
66 | #include <asm/byteorder.h> | 66 | #include <asm/byteorder.h> |
67 | #include <asm/uaccess.h> | 67 | #include <asm/uaccess.h> |
68 | #include <asm/irq.h> | 68 | #include <asm/irq.h> |
69 | #include <asm/prom.h> | ||
69 | 70 | ||
70 | #ifdef CONFIG_SPARC | 71 | #ifdef CONFIG_SPARC |
71 | #include <asm/idprom.h> | 72 | #include <asm/idprom.h> |
72 | #include <asm/prom.h> | ||
73 | #endif | 73 | #endif |
74 | 74 | ||
75 | #ifdef CONFIG_PPC_PMAC | 75 | #ifdef CONFIG_PPC_PMAC |
76 | #include <asm/pci-bridge.h> | 76 | #include <asm/pci-bridge.h> |
77 | #include <asm/prom.h> | ||
78 | #include <asm/machdep.h> | 77 | #include <asm/machdep.h> |
79 | #include <asm/pmac_feature.h> | 78 | #include <asm/pmac_feature.h> |
80 | #endif | 79 | #endif |
diff --git a/drivers/net/wireless/ath/ath5k/ahb.c b/drivers/net/wireless/ath/ath5k/ahb.c index ea9982781559..45dd20c0dc72 100644 --- a/drivers/net/wireless/ath/ath5k/ahb.c +++ b/drivers/net/wireless/ath/ath5k/ahb.c | |||
@@ -24,7 +24,6 @@ | |||
24 | #include "debug.h" | 24 | #include "debug.h" |
25 | #include "base.h" | 25 | #include "base.h" |
26 | #include "reg.h" | 26 | #include "reg.h" |
27 | #include "debug.h" | ||
28 | 27 | ||
29 | /* return bus cachesize in 4B word units */ | 28 | /* return bus cachesize in 4B word units */ |
30 | static void ath5k_ahb_read_cachesize(struct ath_common *common, int *csz) | 29 | static void ath5k_ahb_read_cachesize(struct ath_common *common, int *csz) |
diff --git a/drivers/staging/ath6kl/os/linux/include/ar6000_drv.h b/drivers/staging/ath6kl/os/linux/include/ar6000_drv.h index 22453b0873e4..11dc39c6987a 100644 --- a/drivers/staging/ath6kl/os/linux/include/ar6000_drv.h +++ b/drivers/staging/ath6kl/os/linux/include/ar6000_drv.h | |||
@@ -52,7 +52,6 @@ | |||
52 | #include "aggr_recv_api.h" | 52 | #include "aggr_recv_api.h" |
53 | #include <host_version.h> | 53 | #include <host_version.h> |
54 | #include <linux/rtnetlink.h> | 54 | #include <linux/rtnetlink.h> |
55 | #include <linux/init.h> | ||
56 | #include <linux/moduleparam.h> | 55 | #include <linux/moduleparam.h> |
57 | #include "ar6000_api.h" | 56 | #include "ar6000_api.h" |
58 | #ifdef CONFIG_HOST_TCMD_SUPPORT | 57 | #ifdef CONFIG_HOST_TCMD_SUPPORT |
diff --git a/drivers/staging/bcm/headers.h b/drivers/staging/bcm/headers.h index 1148e5e22eb9..8fe8d2b1f627 100644 --- a/drivers/staging/bcm/headers.h +++ b/drivers/staging/bcm/headers.h | |||
@@ -20,25 +20,23 @@ | |||
20 | #include <linux/file.h> | 20 | #include <linux/file.h> |
21 | #include <linux/string.h> | 21 | #include <linux/string.h> |
22 | #include <linux/etherdevice.h> | 22 | #include <linux/etherdevice.h> |
23 | #include <net/ip.h> | ||
24 | #include <linux/wait.h> | 23 | #include <linux/wait.h> |
25 | #include <linux/proc_fs.h> | 24 | #include <linux/proc_fs.h> |
26 | #include <linux/interrupt.h> | 25 | #include <linux/interrupt.h> |
27 | |||
28 | #include <linux/version.h> | 26 | #include <linux/version.h> |
29 | #include <linux/stddef.h> | 27 | #include <linux/stddef.h> |
30 | #include <linux/kernel.h> | ||
31 | #include <linux/stat.h> | 28 | #include <linux/stat.h> |
32 | #include <linux/fcntl.h> | 29 | #include <linux/fcntl.h> |
33 | #include <linux/unistd.h> | 30 | #include <linux/unistd.h> |
34 | #include <linux/sched.h> | 31 | #include <linux/sched.h> |
35 | #include <linux/mm.h> | 32 | #include <linux/mm.h> |
36 | #include <linux/pagemap.h> | 33 | #include <linux/pagemap.h> |
37 | #include <asm/uaccess.h> | ||
38 | #include <linux/kthread.h> | 34 | #include <linux/kthread.h> |
39 | #include <linux/tcp.h> | 35 | #include <linux/tcp.h> |
40 | #include <linux/udp.h> | 36 | #include <linux/udp.h> |
41 | #include <linux/usb.h> | 37 | #include <linux/usb.h> |
38 | #include <asm/uaccess.h> | ||
39 | #include <net/ip.h> | ||
42 | 40 | ||
43 | #include "Typedefs.h" | 41 | #include "Typedefs.h" |
44 | #include "Version.h" | 42 | #include "Version.h" |
@@ -61,7 +59,6 @@ | |||
61 | #include "Queue.h" | 59 | #include "Queue.h" |
62 | #include "vendorspecificextn.h" | 60 | #include "vendorspecificextn.h" |
63 | 61 | ||
64 | |||
65 | #include "InterfaceMacros.h" | 62 | #include "InterfaceMacros.h" |
66 | #include "InterfaceAdapter.h" | 63 | #include "InterfaceAdapter.h" |
67 | #include "InterfaceIsr.h" | 64 | #include "InterfaceIsr.h" |
diff --git a/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c b/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c index a71c6f8ee8a3..8cbfeae464b1 100644 --- a/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c +++ b/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c | |||
@@ -26,7 +26,6 @@ | |||
26 | #include BCMEMBEDIMAGE | 26 | #include BCMEMBEDIMAGE |
27 | #endif /* BCMEMBEDIMAGE */ | 27 | #endif /* BCMEMBEDIMAGE */ |
28 | 28 | ||
29 | #include <bcmdefs.h> | ||
30 | #include <bcmutils.h> | 29 | #include <bcmutils.h> |
31 | #include <bcmdevs.h> | 30 | #include <bcmdevs.h> |
32 | 31 | ||
diff --git a/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h b/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h index 996033cf9b09..d4bcc1edddb2 100644 --- a/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h +++ b/drivers/staging/brcm80211/brcmfmac/wl_cfg80211.h | |||
@@ -18,7 +18,6 @@ | |||
18 | #define _wl_cfg80211_h_ | 18 | #define _wl_cfg80211_h_ |
19 | 19 | ||
20 | #include <linux/wireless.h> | 20 | #include <linux/wireless.h> |
21 | #include <linux/wireless.h> | ||
22 | #include <net/cfg80211.h> | 21 | #include <net/cfg80211.h> |
23 | #include <wlioctl.h> | 22 | #include <wlioctl.h> |
24 | 23 | ||
diff --git a/drivers/staging/brcm80211/brcmfmac/wl_iw.c b/drivers/staging/brcm80211/brcmfmac/wl_iw.c index 15e1b05ca92d..ab843bc1d5d7 100644 --- a/drivers/staging/brcm80211/brcmfmac/wl_iw.c +++ b/drivers/staging/brcm80211/brcmfmac/wl_iw.c | |||
@@ -19,21 +19,16 @@ | |||
19 | #include <bcmdefs.h> | 19 | #include <bcmdefs.h> |
20 | #include <linux/netdevice.h> | 20 | #include <linux/netdevice.h> |
21 | #include <wlioctl.h> | 21 | #include <wlioctl.h> |
22 | |||
23 | #include <bcmutils.h> | 22 | #include <bcmutils.h> |
24 | |||
25 | #include <linux/if_arp.h> | 23 | #include <linux/if_arp.h> |
26 | #include <asm/uaccess.h> | 24 | #include <asm/uaccess.h> |
25 | #include <linux/ieee80211.h> | ||
27 | 26 | ||
28 | #include <dngl_stats.h> | 27 | #include <dngl_stats.h> |
29 | #include <dhd.h> | 28 | #include <dhd.h> |
30 | #include <dhdioctl.h> | 29 | #include <dhdioctl.h> |
31 | #include <linux/ieee80211.h> | ||
32 | typedef const struct si_pub si_t; | ||
33 | #include <wlioctl.h> | ||
34 | 30 | ||
35 | #include <dngl_stats.h> | 31 | typedef const struct si_pub si_t; |
36 | #include <dhd.h> | ||
37 | 32 | ||
38 | #define WL_ERROR(fmt, args...) printk(fmt, ##args) | 33 | #define WL_ERROR(fmt, args...) printk(fmt, ##args) |
39 | #define WL_TRACE(fmt, args...) no_printk(fmt, ##args) | 34 | #define WL_TRACE(fmt, args...) no_printk(fmt, ##args) |
diff --git a/drivers/staging/gma500/psb_2d.c b/drivers/staging/gma500/psb_2d.c index 0bd834c982d3..3aee8fc3734f 100644 --- a/drivers/staging/gma500/psb_2d.c +++ b/drivers/staging/gma500/psb_2d.c | |||
@@ -38,7 +38,6 @@ | |||
38 | 38 | ||
39 | #include "psb_drv.h" | 39 | #include "psb_drv.h" |
40 | #include "psb_reg.h" | 40 | #include "psb_reg.h" |
41 | #include "psb_drv.h" | ||
42 | #include "psb_fb.h" | 41 | #include "psb_fb.h" |
43 | 42 | ||
44 | void psb_spank(struct drm_psb_private *dev_priv) | 43 | void psb_spank(struct drm_psb_private *dev_priv) |
diff --git a/drivers/staging/hv/hv_mouse.c b/drivers/staging/hv/hv_mouse.c index 359e73741c48..b3324d609c8b 100644 --- a/drivers/staging/hv/hv_mouse.c +++ b/drivers/staging/hv/hv_mouse.c | |||
@@ -24,7 +24,6 @@ | |||
24 | #include <linux/hiddev.h> | 24 | #include <linux/hiddev.h> |
25 | #include <linux/pci.h> | 25 | #include <linux/pci.h> |
26 | #include <linux/dmi.h> | 26 | #include <linux/dmi.h> |
27 | #include <linux/delay.h> | ||
28 | 27 | ||
29 | #include "hyperv.h" | 28 | #include "hyperv.h" |
30 | 29 | ||
diff --git a/drivers/staging/hv/tools/hv_kvp_daemon.c b/drivers/staging/hv/tools/hv_kvp_daemon.c index 33f0f1c8ad73..a4a407f7052a 100644 --- a/drivers/staging/hv/tools/hv_kvp_daemon.c +++ b/drivers/staging/hv/tools/hv_kvp_daemon.c | |||
@@ -35,7 +35,6 @@ | |||
35 | #include <arpa/inet.h> | 35 | #include <arpa/inet.h> |
36 | #include <linux/connector.h> | 36 | #include <linux/connector.h> |
37 | #include <linux/netlink.h> | 37 | #include <linux/netlink.h> |
38 | #include <sys/socket.h> | ||
39 | #include <ifaddrs.h> | 38 | #include <ifaddrs.h> |
40 | #include <netdb.h> | 39 | #include <netdb.h> |
41 | #include <syslog.h> | 40 | #include <syslog.h> |
diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c index 1a94364c48b5..72258e8c64ca 100644 --- a/drivers/staging/nvec/nvec.c +++ b/drivers/staging/nvec/nvec.c | |||
@@ -21,7 +21,6 @@ | |||
21 | #include <linux/semaphore.h> | 21 | #include <linux/semaphore.h> |
22 | #include <linux/list.h> | 22 | #include <linux/list.h> |
23 | #include <linux/notifier.h> | 23 | #include <linux/notifier.h> |
24 | #include <linux/workqueue.h> | ||
25 | #include <linux/platform_device.h> | 24 | #include <linux/platform_device.h> |
26 | #include "nvec.h" | 25 | #include "nvec.h" |
27 | 26 | ||
diff --git a/drivers/staging/rtl8712/drv_types.h b/drivers/staging/rtl8712/drv_types.h index 3bb66dc2eb2c..4f380a64aa85 100644 --- a/drivers/staging/rtl8712/drv_types.h +++ b/drivers/staging/rtl8712/drv_types.h | |||
@@ -29,7 +29,6 @@ struct qos_priv { | |||
29 | 29 | ||
30 | #include "rtl871x_ht.h" | 30 | #include "rtl871x_ht.h" |
31 | #include "rtl871x_cmd.h" | 31 | #include "rtl871x_cmd.h" |
32 | #include "wlan_bssdef.h" | ||
33 | #include "rtl871x_xmit.h" | 32 | #include "rtl871x_xmit.h" |
34 | #include "rtl871x_recv.h" | 33 | #include "rtl871x_recv.h" |
35 | #include "rtl871x_security.h" | 34 | #include "rtl871x_security.h" |
diff --git a/drivers/staging/rtl8712/osdep_service.h b/drivers/staging/rtl8712/osdep_service.h index 3d3f73c5cd5b..505395cff282 100644 --- a/drivers/staging/rtl8712/osdep_service.h +++ b/drivers/staging/rtl8712/osdep_service.h | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <linux/module.h> | 22 | #include <linux/module.h> |
23 | #include <linux/sched.h> | 23 | #include <linux/sched.h> |
24 | #include <linux/kref.h> | 24 | #include <linux/kref.h> |
25 | #include <linux/netdevice.h> | ||
26 | #include <linux/skbuff.h> | 25 | #include <linux/skbuff.h> |
27 | #include <linux/usb.h> | 26 | #include <linux/usb.h> |
28 | #include <linux/usb/ch9.h> | 27 | #include <linux/usb/ch9.h> |
diff --git a/drivers/staging/sep/sep_driver.c b/drivers/staging/sep/sep_driver.c index 52342c17eadd..848b4c57531d 100644 --- a/drivers/staging/sep/sep_driver.c +++ b/drivers/staging/sep/sep_driver.c | |||
@@ -50,7 +50,6 @@ | |||
50 | #include <linux/interrupt.h> | 50 | #include <linux/interrupt.h> |
51 | #include <linux/pagemap.h> | 51 | #include <linux/pagemap.h> |
52 | #include <asm/cacheflush.h> | 52 | #include <asm/cacheflush.h> |
53 | #include <linux/sched.h> | ||
54 | #include <linux/delay.h> | 53 | #include <linux/delay.h> |
55 | #include <linux/jiffies.h> | 54 | #include <linux/jiffies.h> |
56 | #include <linux/rar_register.h> | 55 | #include <linux/rar_register.h> |
diff --git a/drivers/staging/usbip/userspace/src/utils.h b/drivers/staging/usbip/userspace/src/utils.h index 6c29ae945212..991f662720bb 100644 --- a/drivers/staging/usbip/userspace/src/utils.h +++ b/drivers/staging/usbip/userspace/src/utils.h | |||
@@ -13,7 +13,6 @@ | |||
13 | #include <glib.h> | 13 | #include <glib.h> |
14 | #include <unistd.h> | 14 | #include <unistd.h> |
15 | #include <stdio.h> | 15 | #include <stdio.h> |
16 | #include <sys/types.h> | ||
17 | #include <sys/stat.h> | 16 | #include <sys/stat.h> |
18 | #include <fcntl.h> | 17 | #include <fcntl.h> |
19 | #include <stdlib.h> | 18 | #include <stdlib.h> |
diff --git a/drivers/staging/westbridge/astoria/arch/arm/plat-omap/include/mach/westbridge/westbridge-omap3-pnand-hal/cyashalomap_kernel.h b/drivers/staging/westbridge/astoria/arch/arm/plat-omap/include/mach/westbridge/westbridge-omap3-pnand-hal/cyashalomap_kernel.h index 6426ea61f3d4..1e9212fbf1a6 100644 --- a/drivers/staging/westbridge/astoria/arch/arm/plat-omap/include/mach/westbridge/westbridge-omap3-pnand-hal/cyashalomap_kernel.h +++ b/drivers/staging/westbridge/astoria/arch/arm/plat-omap/include/mach/westbridge/westbridge-omap3-pnand-hal/cyashalomap_kernel.h | |||
@@ -315,5 +315,5 @@ void cy_as_hal_set_ep_dma_mode(uint8_t ep, bool sg_xfer_enabled); | |||
315 | /* moved to staging location | 315 | /* moved to staging location |
316 | #include <linux/westbridge/cyas_cplus_end.h> | 316 | #include <linux/westbridge/cyas_cplus_end.h> |
317 | */ | 317 | */ |
318 | #include "../../../../../../../include/linux/westbridge/cyas_cplus_start.h" | 318 | #include "../../../../../../../include/linux/westbridge/cyas_cplus_end.h" |
319 | #endif | 319 | #endif |
diff --git a/drivers/staging/westbridge/astoria/gadget/cyasgadget.h b/drivers/staging/westbridge/astoria/gadget/cyasgadget.h index e01cea7eeb77..668e03f9e8ad 100644 --- a/drivers/staging/westbridge/astoria/gadget/cyasgadget.h +++ b/drivers/staging/westbridge/astoria/gadget/cyasgadget.h | |||
@@ -54,19 +54,15 @@ | |||
54 | #include <linux/usb/ch9.h> | 54 | #include <linux/usb/ch9.h> |
55 | #include <linux/usb/gadget.h> | 55 | #include <linux/usb/gadget.h> |
56 | #include <linux/sched.h> | 56 | #include <linux/sched.h> |
57 | #include <linux/module.h> | ||
58 | #include <linux/init.h> | ||
57 | 59 | ||
58 | #include "../include/linux/westbridge/cyastoria.h" | 60 | #include "../include/linux/westbridge/cyastoria.h" |
59 | #include "../include/linux/westbridge/cyashal.h" | 61 | #include "../include/linux/westbridge/cyashal.h" |
60 | #include "../include/linux/westbridge/cyasdevice.h" | 62 | #include "../include/linux/westbridge/cyasdevice.h" |
61 | #include "cyasgadget_ioctl.h" | 63 | #include "cyasgadget_ioctl.h" |
62 | 64 | ||
63 | #include <linux/module.h> | ||
64 | #include <linux/init.h> | ||
65 | |||
66 | /*char driver defines, revisit*/ | 65 | /*char driver defines, revisit*/ |
67 | #include <linux/module.h> | ||
68 | #include <linux/moduleparam.h> | ||
69 | #include <linux/init.h> | ||
70 | #include <linux/fs.h> /* everything... */ | 66 | #include <linux/fs.h> /* everything... */ |
71 | #include <linux/errno.h> /* error codes */ | 67 | #include <linux/errno.h> /* error codes */ |
72 | #include <linux/types.h> /* size_t */ | 68 | #include <linux/types.h> /* size_t */ |
diff --git a/drivers/target/loopback/tcm_loop.c b/drivers/target/loopback/tcm_loop.c index dee2a2c909f5..ee959032788e 100644 --- a/drivers/target/loopback/tcm_loop.c +++ b/drivers/target/loopback/tcm_loop.c | |||
@@ -31,7 +31,6 @@ | |||
31 | #include <scsi/scsi_host.h> | 31 | #include <scsi/scsi_host.h> |
32 | #include <scsi/scsi_device.h> | 32 | #include <scsi/scsi_device.h> |
33 | #include <scsi/scsi_cmnd.h> | 33 | #include <scsi/scsi_cmnd.h> |
34 | #include <scsi/scsi_tcq.h> | ||
35 | 34 | ||
36 | #include <target/target_core_base.h> | 35 | #include <target/target_core_base.h> |
37 | #include <target/target_core_transport.h> | 36 | #include <target/target_core_transport.h> |
diff --git a/drivers/target/tcm_fc/tfc_cmd.c b/drivers/target/tcm_fc/tfc_cmd.c index c056a1132ae1..7c22062ad621 100644 --- a/drivers/target/tcm_fc/tfc_cmd.c +++ b/drivers/target/tcm_fc/tfc_cmd.c | |||
@@ -45,7 +45,6 @@ | |||
45 | #include <target/target_core_device.h> | 45 | #include <target/target_core_device.h> |
46 | #include <target/target_core_tpg.h> | 46 | #include <target/target_core_tpg.h> |
47 | #include <target/target_core_configfs.h> | 47 | #include <target/target_core_configfs.h> |
48 | #include <target/target_core_base.h> | ||
49 | #include <target/target_core_tmr.h> | 48 | #include <target/target_core_tmr.h> |
50 | #include <target/configfs_macros.h> | 49 | #include <target/configfs_macros.h> |
51 | 50 | ||
diff --git a/drivers/target/tcm_fc/tfc_conf.c b/drivers/target/tcm_fc/tfc_conf.c index 84e868c255dd..d963d9014973 100644 --- a/drivers/target/tcm_fc/tfc_conf.c +++ b/drivers/target/tcm_fc/tfc_conf.c | |||
@@ -48,7 +48,6 @@ | |||
48 | #include <target/target_core_device.h> | 48 | #include <target/target_core_device.h> |
49 | #include <target/target_core_tpg.h> | 49 | #include <target/target_core_tpg.h> |
50 | #include <target/target_core_configfs.h> | 50 | #include <target/target_core_configfs.h> |
51 | #include <target/target_core_base.h> | ||
52 | #include <target/configfs_macros.h> | 51 | #include <target/configfs_macros.h> |
53 | 52 | ||
54 | #include "tcm_fc.h" | 53 | #include "tcm_fc.h" |
diff --git a/drivers/target/tcm_fc/tfc_io.c b/drivers/target/tcm_fc/tfc_io.c index 4c3c0efbe13f..b4433bec6934 100644 --- a/drivers/target/tcm_fc/tfc_io.c +++ b/drivers/target/tcm_fc/tfc_io.c | |||
@@ -53,7 +53,6 @@ | |||
53 | #include <target/target_core_device.h> | 53 | #include <target/target_core_device.h> |
54 | #include <target/target_core_tpg.h> | 54 | #include <target/target_core_tpg.h> |
55 | #include <target/target_core_configfs.h> | 55 | #include <target/target_core_configfs.h> |
56 | #include <target/target_core_base.h> | ||
57 | #include <target/configfs_macros.h> | 56 | #include <target/configfs_macros.h> |
58 | 57 | ||
59 | #include "tcm_fc.h" | 58 | #include "tcm_fc.h" |
diff --git a/drivers/target/tcm_fc/tfc_sess.c b/drivers/target/tcm_fc/tfc_sess.c index a3bd57f2ea32..65d8ea09e3fe 100644 --- a/drivers/target/tcm_fc/tfc_sess.c +++ b/drivers/target/tcm_fc/tfc_sess.c | |||
@@ -46,10 +46,8 @@ | |||
46 | #include <target/target_core_device.h> | 46 | #include <target/target_core_device.h> |
47 | #include <target/target_core_tpg.h> | 47 | #include <target/target_core_tpg.h> |
48 | #include <target/target_core_configfs.h> | 48 | #include <target/target_core_configfs.h> |
49 | #include <target/target_core_base.h> | ||
50 | #include <target/configfs_macros.h> | 49 | #include <target/configfs_macros.h> |
51 | 50 | ||
52 | #include <scsi/libfc.h> | ||
53 | #include "tcm_fc.h" | 51 | #include "tcm_fc.h" |
54 | 52 | ||
55 | static void ft_sess_delete_all(struct ft_tport *); | 53 | static void ft_sess_delete_all(struct ft_tport *); |
diff --git a/drivers/usb/otg/otg_fsm.c b/drivers/usb/otg/otg_fsm.c index b0cc422f2ff9..09117387d2a4 100644 --- a/drivers/usb/otg/otg_fsm.c +++ b/drivers/usb/otg/otg_fsm.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <linux/usb.h> | 28 | #include <linux/usb.h> |
29 | #include <linux/usb/gadget.h> | 29 | #include <linux/usb/gadget.h> |
30 | #include <linux/usb/otg.h> | 30 | #include <linux/usb/otg.h> |
31 | #include <linux/types.h> | ||
32 | 31 | ||
33 | #include "otg_fsm.h" | 32 | #include "otg_fsm.h" |
34 | 33 | ||
diff --git a/drivers/video/udlfb.c b/drivers/video/udlfb.c index 52b0f3e8ccac..14b152a99d13 100644 --- a/drivers/video/udlfb.c +++ b/drivers/video/udlfb.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include <linux/slab.h> | 29 | #include <linux/slab.h> |
30 | #include <linux/prefetch.h> | 30 | #include <linux/prefetch.h> |
31 | #include <linux/delay.h> | 31 | #include <linux/delay.h> |
32 | #include <linux/prefetch.h> | ||
33 | #include <video/udlfb.h> | 32 | #include <video/udlfb.h> |
34 | #include "edid.h" | 33 | #include "edid.h" |
35 | 34 | ||
diff --git a/drivers/watchdog/intel_scu_watchdog.c b/drivers/watchdog/intel_scu_watchdog.c index 919bdd16136f..ba4386066a42 100644 --- a/drivers/watchdog/intel_scu_watchdog.c +++ b/drivers/watchdog/intel_scu_watchdog.c | |||
@@ -42,7 +42,6 @@ | |||
42 | #include <linux/sched.h> | 42 | #include <linux/sched.h> |
43 | #include <linux/signal.h> | 43 | #include <linux/signal.h> |
44 | #include <linux/sfi.h> | 44 | #include <linux/sfi.h> |
45 | #include <linux/types.h> | ||
46 | #include <asm/irq.h> | 45 | #include <asm/irq.h> |
47 | #include <asm/atomic.h> | 46 | #include <asm/atomic.h> |
48 | #include <asm/intel_scu_ipc.h> | 47 | #include <asm/intel_scu_ipc.h> |
diff --git a/fs/nfs/idmap.c b/fs/nfs/idmap.c index 79664a1025af..f20801ae0a16 100644 --- a/fs/nfs/idmap.c +++ b/fs/nfs/idmap.c | |||
@@ -36,6 +36,8 @@ | |||
36 | #include <linux/types.h> | 36 | #include <linux/types.h> |
37 | #include <linux/string.h> | 37 | #include <linux/string.h> |
38 | #include <linux/kernel.h> | 38 | #include <linux/kernel.h> |
39 | #include <linux/slab.h> | ||
40 | #include <linux/nfs_idmap.h> | ||
39 | 41 | ||
40 | static int nfs_map_string_to_numeric(const char *name, size_t namelen, __u32 *res) | 42 | static int nfs_map_string_to_numeric(const char *name, size_t namelen, __u32 *res) |
41 | { | 43 | { |
@@ -59,12 +61,10 @@ static int nfs_map_numeric_to_string(__u32 id, char *buf, size_t buflen) | |||
59 | 61 | ||
60 | #ifdef CONFIG_NFS_USE_NEW_IDMAPPER | 62 | #ifdef CONFIG_NFS_USE_NEW_IDMAPPER |
61 | 63 | ||
62 | #include <linux/slab.h> | ||
63 | #include <linux/cred.h> | 64 | #include <linux/cred.h> |
64 | #include <linux/sunrpc/sched.h> | 65 | #include <linux/sunrpc/sched.h> |
65 | #include <linux/nfs4.h> | 66 | #include <linux/nfs4.h> |
66 | #include <linux/nfs_fs_sb.h> | 67 | #include <linux/nfs_fs_sb.h> |
67 | #include <linux/nfs_idmap.h> | ||
68 | #include <linux/keyctl.h> | 68 | #include <linux/keyctl.h> |
69 | #include <linux/key-type.h> | 69 | #include <linux/key-type.h> |
70 | #include <linux/rcupdate.h> | 70 | #include <linux/rcupdate.h> |
@@ -284,18 +284,15 @@ int nfs_map_gid_to_group(const struct nfs_server *server, __u32 gid, char *buf, | |||
284 | #include <linux/module.h> | 284 | #include <linux/module.h> |
285 | #include <linux/mutex.h> | 285 | #include <linux/mutex.h> |
286 | #include <linux/init.h> | 286 | #include <linux/init.h> |
287 | #include <linux/slab.h> | ||
288 | #include <linux/socket.h> | 287 | #include <linux/socket.h> |
289 | #include <linux/in.h> | 288 | #include <linux/in.h> |
290 | #include <linux/sched.h> | 289 | #include <linux/sched.h> |
291 | |||
292 | #include <linux/sunrpc/clnt.h> | 290 | #include <linux/sunrpc/clnt.h> |
293 | #include <linux/workqueue.h> | 291 | #include <linux/workqueue.h> |
294 | #include <linux/sunrpc/rpc_pipe_fs.h> | 292 | #include <linux/sunrpc/rpc_pipe_fs.h> |
295 | 293 | ||
296 | #include <linux/nfs_fs.h> | 294 | #include <linux/nfs_fs.h> |
297 | 295 | ||
298 | #include <linux/nfs_idmap.h> | ||
299 | #include "nfs4_fs.h" | 296 | #include "nfs4_fs.h" |
300 | 297 | ||
301 | #define IDMAP_HASH_SZ 128 | 298 | #define IDMAP_HASH_SZ 128 |
diff --git a/fs/ocfs2/move_extents.c b/fs/ocfs2/move_extents.c index cd9427023d2e..d53cb706f14c 100644 --- a/fs/ocfs2/move_extents.c +++ b/fs/ocfs2/move_extents.c | |||
@@ -36,7 +36,6 @@ | |||
36 | #include "dir.h" | 36 | #include "dir.h" |
37 | #include "buffer_head_io.h" | 37 | #include "buffer_head_io.h" |
38 | #include "sysfile.h" | 38 | #include "sysfile.h" |
39 | #include "suballoc.h" | ||
40 | #include "refcounttree.h" | 39 | #include "refcounttree.h" |
41 | #include "move_extents.h" | 40 | #include "move_extents.h" |
42 | 41 | ||
diff --git a/include/linux/fs.h b/include/linux/fs.h index 1c777878f1ea..450ca245df84 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -376,7 +376,6 @@ struct inodes_stat_t { | |||
376 | 376 | ||
377 | #include <linux/linkage.h> | 377 | #include <linux/linkage.h> |
378 | #include <linux/wait.h> | 378 | #include <linux/wait.h> |
379 | #include <linux/types.h> | ||
380 | #include <linux/kdev_t.h> | 379 | #include <linux/kdev_t.h> |
381 | #include <linux/dcache.h> | 380 | #include <linux/dcache.h> |
382 | #include <linux/path.h> | 381 | #include <linux/path.h> |
diff --git a/net/ipv4/ping.c b/net/ipv4/ping.c index 9aaa67165f42..39b403f854c6 100644 --- a/net/ipv4/ping.c +++ b/net/ipv4/ping.c | |||
@@ -41,7 +41,6 @@ | |||
41 | #include <linux/proc_fs.h> | 41 | #include <linux/proc_fs.h> |
42 | #include <net/sock.h> | 42 | #include <net/sock.h> |
43 | #include <net/ping.h> | 43 | #include <net/ping.h> |
44 | #include <net/icmp.h> | ||
45 | #include <net/udp.h> | 44 | #include <net/udp.h> |
46 | #include <net/route.h> | 45 | #include <net/route.h> |
47 | #include <net/inet_common.h> | 46 | #include <net/inet_common.h> |