netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* remove unnecessary config.h includes from net/
@ 2006-08-10  2:21 Dave Jones
  2006-08-10  4:04 ` David Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Jones @ 2006-08-10  2:21 UTC (permalink / raw)
  To: netdev

config.h is automatically included by kbuild these days.

Signed-off-by: Dave Jones <davej@redhat.com>

--- linux-2.6/net/ipv4/netfilter/ip_conntrack_sip.c~	2006-08-09 22:18:48.000000000 -0400
+++ linux-2.6/net/ipv4/netfilter/ip_conntrack_sip.c	2006-08-09 22:18:53.000000000 -0400
@@ -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>
--- linux-2.6/net/ipv4/af_inet.c~	2006-08-09 22:18:58.000000000 -0400
+++ linux-2.6/net/ipv4/af_inet.c	2006-08-09 22:19:03.000000000 -0400
@@ -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>
--- linux-2.6/net/ipv4/ipconfig.c~	2006-08-09 22:19:07.000000000 -0400
+++ linux-2.6/net/ipv4/ipconfig.c	2006-08-09 22:19:10.000000000 -0400
@@ -31,7 +31,6 @@
  *              --  Josef Siemes <jsiemes@web.de>, Aug 2002
  */
 
-#include <linux/config.h>
 #include <linux/types.h>
 #include <linux/string.h>
 #include <linux/kernel.h>
--- linux-2.6/net/ipv4/raw.c~	2006-08-09 22:19:14.000000000 -0400
+++ linux-2.6/net/ipv4/raw.c	2006-08-09 22:19:18.000000000 -0400
@@ -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>
--- linux-2.6/net/ipv4/tcp_veno.c~	2006-08-09 22:19:23.000000000 -0400
+++ linux-2.6/net/ipv4/tcp_veno.c	2006-08-09 22:19:26.000000000 -0400
@@ -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>
--- linux-2.6/net/ipv4/tcp_lp.c~	2006-08-09 22:19:31.000000000 -0400
+++ linux-2.6/net/ipv4/tcp_lp.c	2006-08-09 22:19:34.000000000 -0400
@@ -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>
 
--- linux-2.6/net/atm/atm_sysfs.c~	2006-08-09 22:19:38.000000000 -0400
+++ linux-2.6/net/atm/atm_sysfs.c	2006-08-09 22:19:40.000000000 -0400
@@ -1,6 +1,5 @@
 /* ATM driver model support. */
 
-#include <linux/config.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <linux/kobject.h>
--- linux-2.6/net/core/wireless.c~	2006-08-09 22:19:44.000000000 -0400
+++ linux-2.6/net/core/wireless.c	2006-08-09 22:19:47.000000000 -0400
@@ -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() */
--- linux-2.6/net/core/dev_mcast.c~	2006-08-09 22:19:52.000000000 -0400
+++ linux-2.6/net/core/dev_mcast.c	2006-08-09 22:19:59.000000000 -0400
@@ -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>

-- 
http://www.codemonkey.org.uk

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-08-14 18:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-10  2:21 remove unnecessary config.h includes from net/ Dave Jones
2006-08-10  4:04 ` David Miller
2006-08-11  1:37   ` remove unnecessary config.h includes from drivers/net/ Dave Jones
2006-08-14 18:00     ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).