summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2100.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-11-09 00:49:38 -0500
committerJeff Garzik <jgarzik@pobox.com>2005-11-09 00:49:38 -0500
commitc2a8fad43376b2567087358a9cc46844f742342e (patch)
tree1e00e52b1cb7cf63856a3d865381a03369a263a0 /drivers/net/wireless/ipw2100.c
parenteedb9f09e92598c165de37a8c210434d270ca3a6 (diff)
downloadtalos-op-linux-c2a8fad43376b2567087358a9cc46844f742342e.tar.gz
talos-op-linux-c2a8fad43376b2567087358a9cc46844f742342e.zip
[wireless ipw2100] kill unused-var warnings for debug-disabled code
Diffstat (limited to 'drivers/net/wireless/ipw2100.c')
-rw-r--r--drivers/net/wireless/ipw2100.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ipw2100.c b/drivers/net/wireless/ipw2100.c
index 877ac514aa07..a2e6214169e9 100644
--- a/drivers/net/wireless/ipw2100.c
+++ b/drivers/net/wireless/ipw2100.c
@@ -3748,6 +3748,8 @@ static ssize_t store_memory(struct device *d, struct device_attribute *attr,
struct net_device *dev = priv->net_dev;
const char *p = buf;
+ (void) dev; /* kill unused-var warning for debug-only code */
+
if (count < 1)
return count;
@@ -4066,6 +4068,8 @@ static ssize_t store_scan_age(struct device *d, struct device_attribute *attr,
unsigned long val;
char *p = buffer;
+ (void) dev; /* kill unused-var warning for debug-only code */
+
IPW_DEBUG_INFO("enter\n");
strncpy(buffer, buf, len);
OpenPOWER on IntegriCloud