linux/net
Tim Schmielau cd354f1ae7 [PATCH] remove many unneeded #includes of sched.h
After Al Viro (finally) succeeded in removing the sched.h #include in module.h
recently, it makes sense again to remove other superfluous sched.h includes.
There are quite a lot of files which include it but don't actually need
anything defined in there.  Presumably these includes were once needed for
macros that used to live in sched.h, but moved to other header files in the
course of cleaning it up.

To ease the pain, this time I did not fiddle with any header files and only
removed #includes from .c-files, which tend to cause less trouble.

Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
configs in arch/arm/configs on arm.  I also checked that no new warnings were
introduced by the patch (actually, some warnings are removed that were emitted
by unnecessarily included header files).

Signed-off-by: Tim Schmielau <tim@physik3.uni-rostock.de>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-14 08:09:54 -08:00
..
802 [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
8021q [PATCH] mark struct file_operations const 7 2007-02-12 09:48:46 -08:00
appletalk [PATCH] mark struct file_operations const 7 2007-02-12 09:48:46 -08:00
atm [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
ax25 [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
bluetooth [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
bridge [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
core [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
dccp [PATCH] mark struct file_operations const 7 2007-02-12 09:48:46 -08:00
decnet [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
econet [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
ethernet [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
ieee80211 [NET] IEEE80211: Fix whitespace errors. 2007-02-10 23:19:36 -08:00
ipv4 [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
ipv6 [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
ipx [PATCH] mark struct file_operations const 7 2007-02-12 09:48:46 -08:00
irda [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
iucv [S390]: Add AF_IUCV socket support 2007-02-08 13:51:54 -08:00
key [XFRM]: Fix OOPSes in xfrm_audit_log(). 2007-02-12 13:53:54 -08:00
lapb [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
llc [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
netfilter [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
netlabel [NET] NETLABEL: Fix whitespace errors. 2007-02-10 23:19:56 -08:00
netlink [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
netrom [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
packet [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
rose [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
rxrpc [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
sched [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
sctp [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
sunrpc [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
tipc [NET] TIPC: Fix whitespace errors. 2007-02-10 23:20:15 -08:00
unix [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
wanrouter [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
x25 [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
xfrm [IPSEC]: Fix the address family to refer encap_family 2007-02-13 12:57:16 -08:00
compat.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
Kconfig [S390]: Rewrite of the IUCV base code, part 2 2007-02-08 13:37:42 -08:00
Makefile [S390]: Rewrite of the IUCV base code, part 2 2007-02-08 13:37:42 -08:00
nonet.c [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
socket.c [PATCH] mark struct file_operations const 8 2007-02-12 09:48:46 -08:00
sysctl_net.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
TUNABLE Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00