remove warning from drivers/net/arlan.c
PATCH 1/1 remove warning from drivers/net/arlan.c
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.
drivers/net/arlan.c +3 -2
@@ -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 ) {
Signature · 9 lines
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/