Skip to contentSkip to conversation

drivers/net/wan/lmc: fix up header cleanups: remove unneeded sched.h include

PATCH New Arnaldo Carvalho de Melo 1 participant 1 message Nov 21, 2002 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/net/wan/lmc: fix up header cleanups: remove unneeded sched.h include

Linus,

Please pull from:

master.kernel.org:/home/acme/BK/includes-2.5

With the header cleanups there is not anymore a need to
include sched.h in those files.

Now there are three outstanding changesets.

- Arnaldo

You can import this changeset into BK by piping this whole message to:
'| bk receive [path to repository]' or apply the patch as usual.

===================================================================

[email protected], 2002-11-21 20:45:13-02:00, [email protected]
o drivers/net/wan/lmc: fix up header cleanups: remove uneeded sched.h includes

 lmc_debug.c |    2 +-
 lmc_main.c  |   18 +++++++-----------
 lmc_media.c |   18 +++++++-----------
 lmc_proto.c |   17 ++++++++---------
 4 files changed, 23 insertions(+), 32 deletions(-)
drivers/net/wan/lmc/lmc_debug.c +1 -1
diff -Nru a/drivers/net/wan/lmc/lmc_debug.c b/drivers/net/wan/lmc/lmc_debug.c
@@ -1,9 +1,9 @@
 
 #include <linux/types.h>
-#include <linux/sched.h>
 #include <linux/netdevice.h>
 #include <linux/interrupt.h>
 #include <linux/version.h>
+
 #include "lmc_ver.h"
 #include "lmc_debug.h"
 
drivers/net/wan/lmc/lmc_main.c +7 -11
diff -Nru a/drivers/net/wan/lmc/lmc_main.c b/drivers/net/wan/lmc/lmc_main.c
@@ -40,7 +40,7 @@
 
 #include <linux/version.h>
 #include <linux/kernel.h>
-#include <linux/sched.h>
+#include <linux/module.h>
 #include <linux/string.h>
 #include <linux/timer.h>
 #include <linux/ptrace.h>
@@ -51,32 +51,28 @@
 #include <linux/pci.h>
 #include <linux/delay.h>
 #include <linux/init.h>
-
 #if LINUX_VERSION_CODE < 0x20155
 #include <linux/bios32.h>
 #endif
-
 #include <linux/in.h>
 #include <linux/if_arp.h>
-#include <asm/processor.h>             /* Processor type for cache alignment. */
-#include <asm/bitops.h>
-#include <asm/io.h>
-#include <asm/dma.h>
-
 #include <linux/netdevice.h>
 #include <linux/etherdevice.h>
 #include <linux/skbuff.h>
-#include <net/syncppp.h>
 #include <linux/inet.h>
 
+#include <net/syncppp.h>
+
+#include <asm/processor.h>             /* Processor type for cache alignment. */
+#include <asm/bitops.h>
+#include <asm/io.h>
+#include <asm/dma.h>
 #if LINUX_VERSION_CODE >= 0x20200
 #include <asm/uaccess.h>
 //#include <asm/spinlock.h>
 #else				/* 2.0 kernel */
 #define ARPHRD_HDLC 513
 #endif
-
-#include <linux/module.h>
 
 #define DRIVER_MAJOR_VERSION     1
 #define DRIVER_MINOR_VERSION    34
drivers/net/wan/lmc/lmc_media.c +7 -11
diff -Nru a/drivers/net/wan/lmc/lmc_media.c b/drivers/net/wan/lmc/lmc_media.c
@@ -3,7 +3,6 @@
 #include <linux/version.h>
 #include <linux/config.h>
 #include <linux/kernel.h>
-#include <linux/sched.h>
 #include <linux/string.h>
 #include <linux/timer.h>
 #include <linux/ptrace.h>
@@ -12,28 +11,25 @@
 #include <linux/slab.h>
 #include <linux/interrupt.h>
 #include <linux/pci.h>
-//#include <asm/smp.h>
-
 #if LINUX_VERSION_CODE < 0x20155
 #include <linux/bios32.h>
 #endif
-
 #include <linux/in.h>
 #include <linux/if_arp.h>
-#include <asm/processor.h>             /* Processor type for cache alignment. */
-#include <asm/bitops.h>
-#include <asm/io.h>
-#include <asm/dma.h>
-
 #include <linux/netdevice.h>
 #include <linux/etherdevice.h>
 #include <linux/skbuff.h>
-#include <net/syncppp.h>
 #include <linux/inet.h>
 
+#include <net/syncppp.h>
+
+#include <asm/processor.h>             /* Processor type for cache alignment. */
+#include <asm/bitops.h>
+#include <asm/io.h>
+#include <asm/dma.h>
+
 #if LINUX_VERSION_CODE >= 0x20200
 #include <asm/uaccess.h>
-//#include <asm/spinlock.h>
 #endif
 
 #include "lmc_ver.h"
drivers/net/wan/lmc/lmc_proto.c +8 -9
diff -Nru a/drivers/net/wan/lmc/lmc_proto.c b/drivers/net/wan/lmc/lmc_proto.c
@@ -21,7 +21,6 @@
 
 #include <linux/version.h>
 #include <linux/kernel.h>
-#include <linux/sched.h>
 #include <linux/string.h>
 #include <linux/timer.h>
 #include <linux/ptrace.h>
@@ -30,22 +29,22 @@
 #include <linux/slab.h>
 #include <linux/interrupt.h>
 #include <linux/pci.h>
-#include <asm/smp.h>
-
 #include <linux/in.h>
 #include <linux/if_arp.h>
-#include <asm/processor.h>             /* Processor type for cache alignment. */
-#include <asm/bitops.h>
-#include <asm/io.h>
-#include <asm/dma.h>
-
 #include <linux/netdevice.h>
 #include <linux/etherdevice.h>
 #include <linux/skbuff.h>
-#include <net/syncppp.h>
 #include <linux/inet.h>
 #include <linux/workqueue.h>
 #include <linux/proc_fs.h>
+
+#include <net/syncppp.h>
+
+#include <asm/processor.h>             /* Processor type for cache alignment. */
+#include <asm/bitops.h>
+#include <asm/io.h>
+#include <asm/dma.h>
+#include <asm/smp.h>
 
 #include "lmc_ver.h"
 #include "lmc.h"

===================================================================

This BitKeeper patch contains the following changesets:
1.931
## Wrapped with gzip_uu ##

begin 664 bkpatch3494 M'XL(`)MBW3T``]U7;6_;-A#^'/Z*_*M@R4>7R5C+K+6PS9TP((,_19@H"7* MTF*)AE[<!M"/'R6GJ9,:B>WVB^<70N"9Q^>.SST\7\+'QM;3"Y.4EES"[ZYI MIQ>)JVS2%AL3)*X,%K4WW#CG#6'N2AN^^Q65;+J4MM,6"")-U^;-LEA8^MF M>H$!?YQI[]=V>G'SZV\?__SEAI#9#-[GIEK:OVT+LQEI7;TQJ[2Y,FV^<E70 MUJ9J2MN.&_>//^T9I<R_)6I.I>I14:'[!%-$(]"FE(E("3+$</4<^S,OBP9 M$P)ICT)23>:0<P1*L10X;Z%3(*?()95-*8:]3^$GA))W\&,#>$\2<)#6 MQ9#(L+)M^,E4X:I,II5GZ%;0VY-:FM(5M94W;J90FU+M['05=:F-H4FR6T:
MY/#E?,@'0!^E(M=?$T\F1[X(H8:2MZ\$NP?V\/UG7;O6!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