Skip to content

Commit

Permalink
[NET]: Remove unnecessary config.h includes from net/
Browse files Browse the repository at this point in the history
config.h is automatically included by kbuild these days.

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Dave Jones authored and David S. Miller committed Sep 22, 2006
1 parent f0fd27d commit bf0d524
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 11 deletions.
1 change: 0 additions & 1 deletion net/atm/atm_sysfs.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* ATM driver model support. */

#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/kobject.h>
Expand Down
3 changes: 1 addition & 2 deletions net/core/dev_mcast.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion net/core/wireless.c
Original file line number Diff line number Diff line change
Expand Up @@ -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() */
Expand Down
1 change: 0 additions & 1 deletion net/ipv4/af_inet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion net/ipv4/ipconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion net/ipv4/netfilter/ip_conntrack_sip.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
3 changes: 1 addition & 2 deletions net/ipv4/raw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion net/ipv4/tcp_lp.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
* Version: $Id: tcp_lp.c,v 1.24 2006/09/05 20:22:53 hswong3i Exp $
*/

#include <linux/config.h>
#include <linux/module.h>
#include <net/tcp.h>

Expand Down
1 change: 0 additions & 1 deletion net/ipv4/tcp_veno.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit bf0d524

Please sign in to comment.