Skip to contentSkip to conversation

drivers/net/ipg.h: remove duplicated #include

PATCH Huang Weiyi 2 participants 2 messages Aug 10, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Removed duplicated include <linux/version.h>
in drivers/net/ipg.h

drivers/net/ipg.h +0 -1
index cda5388..fadcacb 100644
@@ -21,7 +21,6 @@
 #include <linux/etherdevice.h>
 #include <linux/init.h>
 #include <linux/skbuff.h>
-#include <linux/version.h>
 #include <asm/bitops.h>
 
 /*
#1 lore raw

Huang Weiyi <[email protected]> :

Quoted 4 lines

Removed duplicated include <linux/version.h>
in drivers/net/ipg.h

The driver does not use LINUX_VERSION_CODE nor KERNEL_VERSION. I would not mind a patch to remove completely the said #include.

It could make some sense for the files below too:

drivers/net/acenic.c
drivers/net/bnx2x_link.c
drivers/net/bnx2x_main.c
drivers/net/cpmac.c
drivers/net/gianfar_sysfs.c
drivers/net/ppp_mppe.c
drivers/net/pppol2tp.c
drivers/net/r6040.c
drivers/net/sh_eth.c
drivers/net/sky2.c
drivers/net/tehuti.h
drivers/net/typhoon.c

Can you take care of those ?

Signature · 1 line
Ueimor