patch-1.3.38 linux/drivers/net/dummy.c

Next file: linux/drivers/net/eepro.c
Previous file: linux/drivers/net/depca.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.37/linux/drivers/net/dummy.c linux/drivers/net/dummy.c
@@ -31,10 +31,7 @@
 /* To have statistics (just packets sent) define this */
 #undef DUMMY_STATS
 
-#ifdef MODULE
 #include <linux/module.h>
-#include <linux/version.h>
-#endif
 
 #include <linux/kernel.h>
 #include <linux/sched.h>
@@ -73,7 +70,6 @@
 	MOD_DEC_USE_COUNT;
 	return 0;
 }
-
 #endif
 
 
@@ -135,7 +131,6 @@
 #endif
 
 #ifdef MODULE
-char kernel_version[] = UTS_RELEASE;
 
 static int dummy_probe(struct device *dev)
 {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this