Hi,
If one compiles the ipw2200 module without having CONFIG_IPW2200_DEBUG
set gcc will warn. This patch fixes the following warning and applies
to 2.6.17-rc4-git6.
CC [M] drivers/net/wireless/ipw2200.o
drivers/net/wireless/ipw2200.c:50: Warnung: `debug' defined but not used
Kind regards, Jens Nödler
Signed-off-by: jens m. noedler <[email protected]>
---
--- drivers/net/wireless/ipw2200.c.orig 2006-05-18 16:26:39.000000000 +0200
+++ drivers/net/wireless/ipw2200.c 2006-05-18 16:26:58.000000000 +0200
@@ -45,8 +45,11 @@ MODULE_VERSION(DRV_VERSION);
MODULE_AUTHOR(DRV_COPYRIGHT);
MODULE_LICENSE("GPL");
-static int cmdlog = 0;
+#ifdef CONFIG_IPW2200_DEBUG
static int debug = 0;
+#endif
+
+static int cmdlog = 0;
static int channel = 0;
static int mode = 0;
--
jens m. noedler
[email protected]
pgp: 0x9f0920bb
http://noedler.de
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]