Hi.

The following patch eliminates an 'defined but not used' warning when
compiling drivers/net/arlan.c without module support (240t12p3). It 
also fixes a typo.

It should apply cleanly.


--- linux-240-t12-pre3-clean/drivers/net/arlan.c        Wed Nov 22 22:41:40 2000
+++ linux/drivers/net/arlan.c   Sun Dec  3 13:05:53 2000
@@ -8,7 +8,7 @@
 #include <linux/config.h>
 #include "arlan.h"
 
-static const char *arlan_version = "C.Jennigs 97 & [EMAIL PROTECTED]  Oct'98, 
http://www.ylenurme.ee/~elmer/655/";
+static const char *arlan_version = "C.Jennings 97 & [EMAIL PROTECTED]  Oct'98, 
+http://www.ylenurme.ee/~elmer/655/";
 
 struct net_device *arlan_device[MAX_ARLANS];
 int last_arlan;
@@ -19,7 +19,6 @@
 static char *siteName = siteNameUNKNOWN;
 static int mem = memUNKNOWN;
 int arlan_debug = debugUNKNOWN;
-static int probe = probeUNKNOWN;
 static int numDevices = numDevicesUNKNOWN;
 static int spreadingCode = spreadingCodeUNKNOWN;
 static int channelNumber = channelNumberUNKNOWN;
@@ -1986,6 +1985,8 @@
 }
 
 #ifdef  MODULE
+
+static int probe = probeUNKNOWN;
 
 int init_module(void)
 {

-- 
Regards,
        Rasmus([EMAIL PROTECTED])

If a man says something in a forest and there are no women around to 
hear him, is he still wrong? -- Anonymous
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to