WSL2-Linux-Kernel/drivers/sbus/char
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
..
Kconfig [SPARC64]: Use drivers/Kconfig 2005-08-30 21:46:19 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
aurora.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
aurora.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bbc_envctrl.c [SPARC] {bbc_,}envctrl: Use call_usermodehelper(). 2006-10-17 19:28:52 -07:00
bbc_i2c.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
bbc_i2c.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bpp.c [PATCH] mark struct file_operations const 6 2007-02-12 09:48:45 -08:00
cd180.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpwatchdog.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
display7seg.c [PATCH] mark struct file_operations const 6 2007-02-12 09:48:45 -08:00
envctrl.c [PATCH] mark struct file_operations const 6 2007-02-12 09:48:45 -08:00
flash.c [PATCH] mark struct file_operations const 6 2007-02-12 09:48:45 -08:00
jsflash.c [PATCH] mark struct file_operations const 6 2007-02-12 09:48:45 -08:00
max1617.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
openprom.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
riowatchdog.c [PATCH] mark struct file_operations const 6 2007-02-12 09:48:45 -08:00
rtc.c [PATCH] mark struct file_operations const 6 2007-02-12 09:48:45 -08:00
uctrl.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
vfc.h [PATCH] devfs: Remove the devfs_fs_kernel.h file from the tree 2006-06-26 12:25:08 -07:00
vfc_dev.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
vfc_i2c.c [SPARC] drivers/sbus: fix-up schedule_timeout() usage 2005-09-12 14:16:17 -07:00
vfc_i2c.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00