[PATCH] janitor: remove unneeded includes (sk98lin)

STALE8356d

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

[PATCH] janitor: remove unneeded includes (sk98lin)

From: Randy.Dunlap <hidden>
Date: 2003-09-17 22:30:03

Hi,
Please apply to 2.6.0-test5-current.

--
~Randy


From: Randy Hron <redacted>

 linux-260-test5-kj-rddunlap/drivers/net/sk98lin/h/skdrv1st.h |    4 ----
 linux-260-test5-kj-rddunlap/drivers/net/sk98lin/skge.c       |    1 -
 2 files changed, 5 deletions(-)

diff -puN drivers/net/sk98lin/h/skdrv1st.h~version_sk98lin drivers/net/sk98lin/h/skdrv1st.h
--- linux-260-test5-kj/drivers/net/sk98lin/h/skdrv1st.h~version_sk98lin	2003-09-10 17:09:09.000000000 -0700
+++ linux-260-test5-kj-rddunlap/drivers/net/sk98lin/h/skdrv1st.h	2003-09-10 17:09:09.000000000 -0700
@@ -107,9 +107,6 @@
 #ifndef __INC_SKDRV1ST_H
 #define __INC_SKDRV1ST_H
 
-/* Check kernel version */
-#include <linux/version.h>
-
 typedef struct s_AC	SK_AC;
 
 /* Set card versions */
@@ -135,7 +132,6 @@ typedef struct s_AC	SK_AC;
 #error You must compile this driver with "-O".
 #endif
 
-#include <linux/version.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
diff -puN drivers/net/sk98lin/skge.c~version_sk98lin drivers/net/sk98lin/skge.c
--- linux-260-test5-kj/drivers/net/sk98lin/skge.c~version_sk98lin	2003-09-10 17:09:09.000000000 -0700
+++ linux-260-test5-kj-rddunlap/drivers/net/sk98lin/skge.c	2003-09-10 17:09:09.000000000 -0700
@@ -361,7 +361,6 @@
  *	<linux/module.h>
  *
  *	"h/skdrv1st.h"
- *		<linux/version.h>
  *		<linux/types.h>
  *		<linux/kernel.h>
  *		<linux/string.h>
_

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

From: David S. Miller <hidden>
Date: 2003-09-20 07:51:45

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