netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: netdev@vger.kernel.org
Subject: remove unnecessary config.h includes from net/
Date: Wed, 9 Aug 2006 22:21:16 -0400	[thread overview]
Message-ID: <20060810022116.GB23634@redhat.com> (raw)

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

             reply	other threads:[~2006-08-10  2:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-10  2:21 Dave Jones [this message]
2006-08-10  4:04 ` remove unnecessary config.h includes from net/ David Miller
2006-08-11  1:37   ` remove unnecessary config.h includes from drivers/net/ Dave Jones
2006-08-14 18:00     ` Jeff Garzik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060810022116.GB23634@redhat.com \
    --to=davej@redhat.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).