remove unnecessary config.h includes from net/
Subsystems (8)
config.h is automatically included by kbuild these days.
Signed-off-by Dave Jones <[email protected]>
net/ipv4/netfilter/ip_conntrack_sip.c renamed from net/ipv4/netfilter/ip_conntrack_sip.c~ +0 -1
@@ -8,7 +8,6 @@* published by the Free Software Foundation. */ -#include <linux/config.h> #include <linux/module.h> #include <linux/ctype.h> #include <linux/skbuff.h>
net/ipv4/af_inet.c renamed from net/ipv4/af_inet.c~ +0 -1
@@ -67,7 +67,6 @@* 2 of the License, or (at your option) any later version. */ -#include <linux/config.h> #include <linux/err.h> #include <linux/errno.h> #include <linux/types.h>
net/ipv4/ipconfig.c renamed from net/ipv4/ipconfig.c~ +0 -1
@@ -31,7 +31,6 @@* -- Josef Siemes <[email protected]>, Aug 2002 */ -#include <linux/config.h> #include <linux/types.h> #include <linux/string.h> #include <linux/kernel.h>
net/ipv4/raw.c renamed from net/ipv4/raw.c~ +1 -2
@@ -38,8 +38,7 @@* as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */ - -#include <linux/config.h> +#include <linux/types.h> #include <asm/atomic.h> #include <asm/byteorder.h>
net/ipv4/tcp_veno.c renamed from net/ipv4/tcp_veno.c~ +0 -1
@@ -9,7 +9,6 @@* See http://www.ntu.edu.sg/home5/ZHOU0022/papers/CPFu03a.pdf */ -#include <linux/config.h> #include <linux/mm.h> #include <linux/module.h> #include <linux/skbuff.h>
net/ipv4/tcp_lp.c renamed from net/ipv4/tcp_lp.c~ +0 -1
@@ -31,7 +31,6 @@* Version: $Id: tcp_lp.c,v 1.22 2006-05-02 18:18:19 hswong3i Exp $ */ -#include <linux/config.h> #include <linux/module.h> #include <net/tcp.h>
net/atm/atm_sysfs.c renamed from net/atm/atm_sysfs.c~ +0 -1
@@ -1,6 +1,5 @@/* ATM driver model support. */ -#include <linux/config.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/kobject.h>
net/core/wireless.c renamed from net/core/wireless.c~ +0 -1
@@ -72,7 +72,6 @@/***************************** INCLUDES *****************************/ -#include <linux/config.h> /* Not needed ??? */ #include <linux/module.h> #include <linux/types.h> /* off_t */ #include <linux/netdevice.h> /* struct ifreq, dev_get_by_name() */
net/core/dev_mcast.c renamed from net/core/dev_mcast.c~ +1 -2
@@ -21,8 +21,7 @@* 2 of the License, or (at your option) any later version. */ -#include <linux/config.h> -#include <linux/module.h> +#include <linux/module.h> #include <asm/uaccess.h> #include <asm/system.h> #include <linux/bitops.h>
Signature · 1 line
http://www.codemonkey.org.uk
From: Dave Jones <[email protected]>
Date: Wed, 9 Aug 2006 22:21:16 -0400
Quoted 3 lines
config.his automatically included by kbuild these days.Signed-off-by Dave Jones <[email protected]>
Applied to net-2.6.19, thanks Dave.
remove unnecessary config.h includes from drivers/net/
Quoted 8 lines · David Miller
From: Dave Jones <[email protected]>
Date: Wed, 9 Aug 2006 22:21:16 -0400Quoted 3 lines
config.his automatically included by kbuild these days.Signed-off-by Dave Jones <[email protected]>Applied to net-2.6.19, thanks Dave.
Here's a similar patch that does the same removals for drivers/net/
Signed-off-by Dave Jones <[email protected]>
drivers/net/irda/mcs7780.c renamed from drivers/net/irda/mcs7780.c~ +0 -1
@@ -45,7 +45,6 @@#include <linux/module.h> #include <linux/moduleparam.h> -#include <linux/config.h> #include <linux/kernel.h> #include <linux/types.h> #include <linux/errno.h>
drivers/net/irda/w83977af_ir.c renamed from drivers/net/irda/w83977af_ir.c~ +0 -1
@@ -40,7 +40,6 @@********************************************************************/ #include <linux/module.h> -#include <linux/config.h> #include <linux/kernel.h> #include <linux/types.h> #include <linux/skbuff.h>
drivers/net/smc911x.c renamed from drivers/net/smc911x.c~ +0 -2
@@ -55,8 +55,6 @@ static const char version[] = )#endif - -#include <linux/config.h> #include <linux/init.h> #include <linux/module.h> #include <linux/kernel.h>
drivers/net/netx-eth.c renamed from drivers/net/netx-eth.c~ +0 -1
@@ -17,7 +17,6 @@* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include <linux/config.h> #include <linux/init.h> #include <linux/module.h> #include <linux/kernel.h>
drivers/net/wan/cycx_main.c renamed from drivers/net/wan/cycx_main.c~ +0 -1
@@ -40,7 +40,6 @@* 1998/08/08 acme Initial version. */ -#include <linux/config.h> /* OS configuration options */ #include <linux/stddef.h> /* offsetof(), etc. */ #include <linux/errno.h> /* return codes */ #include <linux/string.h> /* inline memset(), etc. */
drivers/net/wan/sdla.c renamed from drivers/net/wan/sdla.c~ +0 -1
@@ -32,7 +32,6 @@* 2 of the License, or (at your option) any later version. */ -#include <linux/config.h> /* for CONFIG_DLCI_MAX */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/types.h>
drivers/net/wan/dlci.c renamed from drivers/net/wan/dlci.c~ +0 -1
@@ -28,7 +28,6 @@* 2 of the License, or (at your option) any later version. */ -#include <linux/config.h> /* for CONFIG_DLCI_COUNT */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/types.h>
drivers/net/phy/vitesse.c renamed from drivers/net/phy/vitesse.c~ +0 -1
@@ -12,7 +12,6 @@* */ -#include <linux/config.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/mii.h>
drivers/net/phy/smsc.c renamed from drivers/net/phy/smsc.c~ +0 -1
@@ -14,7 +14,6 @@* */ -#include <linux/config.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/mii.h>
drivers/net/hp100.c renamed from drivers/net/hp100.c~ +0 -1
@@ -111,7 +111,6 @@#include <linux/etherdevice.h> #include <linux/skbuff.h> #include <linux/types.h> -#include <linux/config.h> /* for CONFIG_PCI */ #include <linux/delay.h> #include <linux/init.h> #include <linux/bitops.h>
drivers/net/3c501.c renamed from drivers/net/3c501.c~ +0 -1
@@ -120,7 +120,6 @@ static const char version[] =#include <linux/slab.h> #include <linux/string.h> #include <linux/errno.h> -#include <linux/config.h> /* for CONFIG_IP_MULTICAST */ #include <linux/spinlock.h> #include <linux/ethtool.h> #include <linux/delay.h>
Signature · 1 line
http://www.codemonkey.org.uk
Jeff Garzik
AppliedRe: remove unnecessary config.h includes from drivers/net/
applied