[TRIVIAL] ipw2200: fix a gcc compile warning

From: jens m. noedler
Date: Thu May 18 2006 - 11:12:40 EST


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 <noedler@xxxxxx>

---

--- 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
noedler@xxxxxx
pgp: 0x9f0920bb
http://noedler.de
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/