diff options
author | Jesper Juhl <jj@chaosbits.net> | 2011-06-24 05:40:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-24 05:40:08 -0400 |
commit | 95cb3656c09fcf6577138337216c27744ebc91e2 (patch) | |
tree | fbcd06dcad2f7b8daeecc649e4b34079ef16adf2 | |
parent | 22c8c9343258feda9ea9ebb9e5f8cbb727b69454 (diff) |
net: Remove unneeded version.h includes from drivers/net/
It was pointed out by 'make versioncheck' that some includes of
linux/version.h are not needed in drivers/net/.
This patch removes them.
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/atl1c/atl1c.h | 1 | ||||
-rw-r--r-- | drivers/net/atl1e/atl1e.h | 1 | ||||
-rw-r--r-- | drivers/net/benet/be.h | 1 | ||||
-rw-r--r-- | drivers/net/bna/cna.h | 1 | ||||
-rw-r--r-- | drivers/net/caif/caif_serial.c | 1 | ||||
-rw-r--r-- | drivers/net/caif/caif_shm_u5500.c | 1 | ||||
-rw-r--r-- | drivers/net/caif/caif_spi.c | 1 | ||||
-rw-r--r-- | drivers/net/caif/caif_spi_slave.c | 1 | ||||
-rw-r--r-- | drivers/net/can/c_can/c_can.c | 1 | ||||
-rw-r--r-- | drivers/net/can/c_can/c_can_platform.c | 1 | ||||
-rw-r--r-- | drivers/net/can/softing/softing_main.c | 1 | ||||
-rw-r--r-- | drivers/net/cxgb4vf/cxgb4vf_main.c | 1 | ||||
-rw-r--r-- | drivers/net/cxgb4vf/t4vf_hw.c | 1 | ||||
-rw-r--r-- | drivers/net/davinci_emac.c | 1 | ||||
-rw-r--r-- | drivers/net/pptp.c | 1 | ||||
-rw-r--r-- | drivers/net/sfc/net_driver.h | 1 | ||||
-rw-r--r-- | drivers/net/usb/cdc_ncm.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/rtlwifi/wifi.h | 1 |
18 files changed, 0 insertions, 18 deletions
diff --git a/drivers/net/atl1c/atl1c.h b/drivers/net/atl1c/atl1c.h index dfe4370ccc90..0f481b983bcf 100644 --- a/drivers/net/atl1c/atl1c.h +++ b/drivers/net/atl1c/atl1c.h | |||
@@ -22,7 +22,6 @@ | |||
22 | #ifndef _ATL1C_H_ | 22 | #ifndef _ATL1C_H_ |
23 | #define _ATL1C_H_ | 23 | #define _ATL1C_H_ |
24 | 24 | ||
25 | #include <linux/version.h> | ||
26 | #include <linux/init.h> | 25 | #include <linux/init.h> |
27 | #include <linux/interrupt.h> | 26 | #include <linux/interrupt.h> |
28 | #include <linux/types.h> | 27 | #include <linux/types.h> |
diff --git a/drivers/net/atl1e/atl1e.h b/drivers/net/atl1e/atl1e.h index 9ac37e3ec8fb..8c8181b53286 100644 --- a/drivers/net/atl1e/atl1e.h +++ b/drivers/net/atl1e/atl1e.h | |||
@@ -23,7 +23,6 @@ | |||
23 | #ifndef _ATL1E_H_ | 23 | #ifndef _ATL1E_H_ |
24 | #define _ATL1E_H_ | 24 | #define _ATL1E_H_ |
25 | 25 | ||
26 | #include <linux/version.h> | ||
27 | #include <linux/init.h> | 26 | #include <linux/init.h> |
28 | #include <linux/interrupt.h> | 27 | #include <linux/interrupt.h> |
29 | #include <linux/types.h> | 28 | #include <linux/types.h> |
diff --git a/drivers/net/benet/be.h b/drivers/net/benet/be.h index a36f5a6a8462..9aa1534c7d88 100644 --- a/drivers/net/benet/be.h +++ b/drivers/net/benet/be.h | |||
@@ -20,7 +20,6 @@ | |||
20 | 20 | ||
21 | #include <linux/pci.h> | 21 | #include <linux/pci.h> |
22 | #include <linux/etherdevice.h> | 22 | #include <linux/etherdevice.h> |
23 | #include <linux/version.h> | ||
24 | #include <linux/delay.h> | 23 | #include <linux/delay.h> |
25 | #include <net/tcp.h> | 24 | #include <net/tcp.h> |
26 | #include <net/ip.h> | 25 | #include <net/ip.h> |
diff --git a/drivers/net/bna/cna.h b/drivers/net/bna/cna.h index 3c47dc52b423..01b4af733021 100644 --- a/drivers/net/bna/cna.h +++ b/drivers/net/bna/cna.h | |||
@@ -19,7 +19,6 @@ | |||
19 | #ifndef __CNA_H__ | 19 | #ifndef __CNA_H__ |
20 | #define __CNA_H__ | 20 | #define __CNA_H__ |
21 | 21 | ||
22 | #include <linux/version.h> | ||
23 | #include <linux/kernel.h> | 22 | #include <linux/kernel.h> |
24 | #include <linux/types.h> | 23 | #include <linux/types.h> |
25 | #include <linux/pci.h> | 24 | #include <linux/pci.h> |
diff --git a/drivers/net/caif/caif_serial.c b/drivers/net/caif/caif_serial.c index 1cd0b59d13cb..23406e62c0b0 100644 --- a/drivers/net/caif/caif_serial.c +++ b/drivers/net/caif/caif_serial.c | |||
@@ -6,7 +6,6 @@ | |||
6 | 6 | ||
7 | #include <linux/hardirq.h> | 7 | #include <linux/hardirq.h> |
8 | #include <linux/init.h> | 8 | #include <linux/init.h> |
9 | #include <linux/version.h> | ||
10 | #include <linux/module.h> | 9 | #include <linux/module.h> |
11 | #include <linux/device.h> | 10 | #include <linux/device.h> |
12 | #include <linux/types.h> | 11 | #include <linux/types.h> |
diff --git a/drivers/net/caif/caif_shm_u5500.c b/drivers/net/caif/caif_shm_u5500.c index 5f771ab712c4..89d76b7b325a 100644 --- a/drivers/net/caif/caif_shm_u5500.c +++ b/drivers/net/caif/caif_shm_u5500.c | |||
@@ -7,7 +7,6 @@ | |||
7 | 7 | ||
8 | #define pr_fmt(fmt) KBUILD_MODNAME ":" fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ":" fmt |
9 | 9 | ||
10 | #include <linux/version.h> | ||
11 | #include <linux/init.h> | 10 | #include <linux/init.h> |
12 | #include <linux/module.h> | 11 | #include <linux/module.h> |
13 | #include <linux/netdevice.h> | 12 | #include <linux/netdevice.h> |
diff --git a/drivers/net/caif/caif_spi.c b/drivers/net/caif/caif_spi.c index 57e639373815..0f8defc73307 100644 --- a/drivers/net/caif/caif_spi.c +++ b/drivers/net/caif/caif_spi.c | |||
@@ -5,7 +5,6 @@ | |||
5 | * License terms: GNU General Public License (GPL) version 2. | 5 | * License terms: GNU General Public License (GPL) version 2. |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #include <linux/version.h> | ||
9 | #include <linux/init.h> | 8 | #include <linux/init.h> |
10 | #include <linux/module.h> | 9 | #include <linux/module.h> |
11 | #include <linux/device.h> | 10 | #include <linux/device.h> |
diff --git a/drivers/net/caif/caif_spi_slave.c b/drivers/net/caif/caif_spi_slave.c index b009e03cda9e..e139e133fc79 100644 --- a/drivers/net/caif/caif_spi_slave.c +++ b/drivers/net/caif/caif_spi_slave.c | |||
@@ -4,7 +4,6 @@ | |||
4 | * Author: Daniel Martensson / Daniel.Martensson@stericsson.com | 4 | * Author: Daniel Martensson / Daniel.Martensson@stericsson.com |
5 | * License terms: GNU General Public License (GPL) version 2. | 5 | * License terms: GNU General Public License (GPL) version 2. |
6 | */ | 6 | */ |
7 | #include <linux/version.h> | ||
8 | #include <linux/init.h> | 7 | #include <linux/init.h> |
9 | #include <linux/module.h> | 8 | #include <linux/module.h> |
10 | #include <linux/device.h> | 9 | #include <linux/device.h> |
diff --git a/drivers/net/can/c_can/c_can.c b/drivers/net/can/c_can/c_can.c index 7e5cc0bd913d..80adc83f796a 100644 --- a/drivers/net/can/c_can/c_can.c +++ b/drivers/net/can/c_can/c_can.c | |||
@@ -26,7 +26,6 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | #include <linux/kernel.h> | 28 | #include <linux/kernel.h> |
29 | #include <linux/version.h> | ||
30 | #include <linux/module.h> | 29 | #include <linux/module.h> |
31 | #include <linux/interrupt.h> | 30 | #include <linux/interrupt.h> |
32 | #include <linux/delay.h> | 31 | #include <linux/delay.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..0e300cf840b9 100644 --- a/drivers/net/can/c_can/c_can_platform.c +++ b/drivers/net/can/c_can/c_can_platform.c | |||
@@ -20,7 +20,6 @@ | |||
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include <linux/kernel.h> | 22 | #include <linux/kernel.h> |
23 | #include <linux/version.h> | ||
24 | #include <linux/module.h> | 23 | #include <linux/module.h> |
25 | #include <linux/interrupt.h> | 24 | #include <linux/interrupt.h> |
26 | #include <linux/delay.h> | 25 | #include <linux/delay.h> |
diff --git a/drivers/net/can/softing/softing_main.c b/drivers/net/can/softing/softing_main.c index 954b2959b6b2..a79925e72d66 100644 --- a/drivers/net/can/softing/softing_main.c +++ b/drivers/net/can/softing/softing_main.c | |||
@@ -17,7 +17,6 @@ | |||
17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
18 | */ | 18 | */ |
19 | 19 | ||
20 | #include <linux/version.h> | ||
21 | #include <linux/module.h> | 20 | #include <linux/module.h> |
22 | #include <linux/init.h> | 21 | #include <linux/init.h> |
23 | #include <linux/interrupt.h> | 22 | #include <linux/interrupt.h> |
diff --git a/drivers/net/cxgb4vf/cxgb4vf_main.c b/drivers/net/cxgb4vf/cxgb4vf_main.c index e71c08e547e4..8a6f8911bc55 100644 --- a/drivers/net/cxgb4vf/cxgb4vf_main.c +++ b/drivers/net/cxgb4vf/cxgb4vf_main.c | |||
@@ -33,7 +33,6 @@ | |||
33 | * SOFTWARE. | 33 | * SOFTWARE. |
34 | */ | 34 | */ |
35 | 35 | ||
36 | #include <linux/version.h> | ||
37 | #include <linux/module.h> | 36 | #include <linux/module.h> |
38 | #include <linux/moduleparam.h> | 37 | #include <linux/moduleparam.h> |
39 | #include <linux/init.h> | 38 | #include <linux/init.h> |
diff --git a/drivers/net/cxgb4vf/t4vf_hw.c b/drivers/net/cxgb4vf/t4vf_hw.c index 192db226ec7f..fe3fd3dad6f7 100644 --- a/drivers/net/cxgb4vf/t4vf_hw.c +++ b/drivers/net/cxgb4vf/t4vf_hw.c | |||
@@ -33,7 +33,6 @@ | |||
33 | * SOFTWARE. | 33 | * SOFTWARE. |
34 | */ | 34 | */ |
35 | 35 | ||
36 | #include <linux/version.h> | ||
37 | #include <linux/pci.h> | 36 | #include <linux/pci.h> |
38 | 37 | ||
39 | #include "t4vf_common.h" | 38 | #include "t4vf_common.h" |
diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c index 55c8245b0cdc..acef7e96c9fd 100644 --- a/drivers/net/davinci_emac.c +++ b/drivers/net/davinci_emac.c | |||
@@ -48,7 +48,6 @@ | |||
48 | #include <linux/highmem.h> | 48 | #include <linux/highmem.h> |
49 | #include <linux/proc_fs.h> | 49 | #include <linux/proc_fs.h> |
50 | #include <linux/ctype.h> | 50 | #include <linux/ctype.h> |
51 | #include <linux/version.h> | ||
52 | #include <linux/spinlock.h> | 51 | #include <linux/spinlock.h> |
53 | #include <linux/dma-mapping.h> | 52 | #include <linux/dma-mapping.h> |
54 | #include <linux/clk.h> | 53 | #include <linux/clk.h> |
diff --git a/drivers/net/pptp.c b/drivers/net/pptp.c index 1286fe212dc4..eae542a7e987 100644 --- a/drivers/net/pptp.c +++ b/drivers/net/pptp.c | |||
@@ -30,7 +30,6 @@ | |||
30 | #include <linux/ip.h> | 30 | #include <linux/ip.h> |
31 | #include <linux/netfilter.h> | 31 | #include <linux/netfilter.h> |
32 | #include <linux/netfilter_ipv4.h> | 32 | #include <linux/netfilter_ipv4.h> |
33 | #include <linux/version.h> | ||
34 | #include <linux/rcupdate.h> | 33 | #include <linux/rcupdate.h> |
35 | #include <linux/spinlock.h> | 34 | #include <linux/spinlock.h> |
36 | 35 | ||
diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h index e8d5f03a89fe..1affbf4d7083 100644 --- a/drivers/net/sfc/net_driver.h +++ b/drivers/net/sfc/net_driver.h | |||
@@ -17,7 +17,6 @@ | |||
17 | #define DEBUG | 17 | #define DEBUG |
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | #include <linux/version.h> | ||
21 | #include <linux/netdevice.h> | 20 | #include <linux/netdevice.h> |
22 | #include <linux/etherdevice.h> | 21 | #include <linux/etherdevice.h> |
23 | #include <linux/ethtool.h> | 22 | #include <linux/ethtool.h> |
diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c index f33ca6aa29e9..fd622a66ebbf 100644 --- a/drivers/net/usb/cdc_ncm.c +++ b/drivers/net/usb/cdc_ncm.c | |||
@@ -47,7 +47,6 @@ | |||
47 | #include <linux/mii.h> | 47 | #include <linux/mii.h> |
48 | #include <linux/crc32.h> | 48 | #include <linux/crc32.h> |
49 | #include <linux/usb.h> | 49 | #include <linux/usb.h> |
50 | #include <linux/version.h> | ||
51 | #include <linux/timer.h> | 50 | #include <linux/timer.h> |
52 | #include <linux/spinlock.h> | 51 | #include <linux/spinlock.h> |
53 | #include <linux/atomic.h> | 52 | #include <linux/atomic.h> |
diff --git a/drivers/net/wireless/rtlwifi/wifi.h b/drivers/net/wireless/rtlwifi/wifi.h index 9d003e0864f5..75dff1e095f6 100644 --- a/drivers/net/wireless/rtlwifi/wifi.h +++ b/drivers/net/wireless/rtlwifi/wifi.h | |||
@@ -32,7 +32,6 @@ | |||
32 | 32 | ||
33 | #include <linux/sched.h> | 33 | #include <linux/sched.h> |
34 | #include <linux/firmware.h> | 34 | #include <linux/firmware.h> |
35 | #include <linux/version.h> | ||
36 | #include <linux/etherdevice.h> | 35 | #include <linux/etherdevice.h> |
37 | #include <linux/vmalloc.h> | 36 | #include <linux/vmalloc.h> |
38 | #include <linux/usb.h> | 37 | #include <linux/usb.h> |