[PATCH] janitor: remove unneeded includes (tokenring)

STALE8358d

2 messages, 2 authors, 2003-09-20 · open the first message on its own page

[PATCH] janitor: remove unneeded includes (tokenring)

From: Randy.Dunlap <hidden>
Date: 2003-09-17 22:27:24

Hi,

Please apply to 2.6.0-test5-current.

Thanks,
--
~Randy


From: Randy Hron <redacted>

 linux-260-test5-kj-rddunlap/drivers/net/tokenring/lanstreamer.h |    2 ++
 linux-260-test5-kj-rddunlap/drivers/net/tokenring/smctr.c       |    1 -
 linux-260-test5-kj-rddunlap/drivers/net/tokenring/tms380tr.c    |    1 -
 3 files changed, 2 insertions(+), 2 deletions(-)

diff -puN drivers/net/tokenring/lanstreamer.h~drivers_net_tokenring drivers/net/tokenring/lanstreamer.h
--- linux-260-test5-kj/drivers/net/tokenring/lanstreamer.h~drivers_net_tokenring	2003-09-11 10:42:06.000000000 -0700
+++ linux-260-test5-kj-rddunlap/drivers/net/tokenring/lanstreamer.h	2003-09-11 10:42:06.000000000 -0700
@@ -60,6 +60,8 @@
  *
  */
 
+#include <linux/version.h>
+
 #if STREAMER_IOCTL && (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))
 #include <asm/ioctl.h>
 #define IOCTL_PRINT_RX_BUFS   SIOCDEVPRIVATE
diff -puN drivers/net/tokenring/smctr.c~drivers_net_tokenring drivers/net/tokenring/smctr.c
--- linux-260-test5-kj/drivers/net/tokenring/smctr.c~drivers_net_tokenring	2003-09-11 10:42:06.000000000 -0700
+++ linux-260-test5-kj-rddunlap/drivers/net/tokenring/smctr.c	2003-09-11 10:42:06.000000000 -0700
@@ -29,7 +29,6 @@
  */
 
 #include <linux/module.h>
-#include <linux/version.h>
 #include <linux/config.h>
 #include <linux/kernel.h>
 #include <linux/types.h>
diff -puN drivers/net/tokenring/tms380tr.c~drivers_net_tokenring drivers/net/tokenring/tms380tr.c
--- linux-260-test5-kj/drivers/net/tokenring/tms380tr.c~drivers_net_tokenring	2003-09-11 10:42:06.000000000 -0700
+++ linux-260-test5-kj-rddunlap/drivers/net/tokenring/tms380tr.c	2003-09-11 10:42:06.000000000 -0700
@@ -77,7 +77,6 @@ static const char version[] = "tms380tr.
 #endif
 
 #include <linux/module.h>
-#include <linux/version.h>
 #include <linux/kernel.h>
 #include <linux/types.h>
 #include <linux/fcntl.h>
_

Re: [PATCH] janitor: remove unneeded includes (tokenring)

From: David S. Miller <hidden>
Date: 2003-09-20 07:43:58

On Wed, 17 Sep 2003 15:27:24 -0700
"Randy.Dunlap" [off-list ref] wrote:
Please apply to 2.6.0-test5-current.
Applied, thanks Randy.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help