summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormartin <martin@NetBSD.org>2013-09-15 16:10:45 +0000
committermartin <martin@NetBSD.org>2013-09-15 16:10:45 +0000
commit1c69d4728867618d815f3caa221f1e27fe3f65e1 (patch)
tree9b268a4c034ad1d866bab585821fe7c47934500f /sys/dev
parent0292d8e9c46c9ad8bec29541359c97d417093aec (diff)
Mark a potentially unused variable
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/wi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/wi.c b/sys/dev/ic/wi.c
index 3f93c6e8ef7..230859399b4 100644
--- a/sys/dev/ic/wi.c
+++ b/sys/dev/ic/wi.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wi.c,v 1.235 2011/08/15 18:24:34 dyoung Exp $ */
+/* $NetBSD: wi.c,v 1.236 2013/09/15 16:10:45 martin Exp $ */
/*-
* Copyright (c) 2004 The NetBSD Foundation, Inc.
@@ -99,7 +99,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wi.c,v 1.235 2011/08/15 18:24:34 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wi.c,v 1.236 2013/09/15 16:10:45 martin Exp $");
#define WI_HERMES_AUTOINC_WAR /* Work around data write autoinc bug. */
#define WI_HERMES_STATS_WAR /* Work around stats counter bug. */
@@ -3112,7 +3112,7 @@ wi_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int arg)
u_int16_t val;
struct wi_ssid ssid;
struct wi_macaddr bssid, old_bssid;
- enum ieee80211_state ostate;
+ enum ieee80211_state ostate __unused;
#ifdef WI_DEBUG
static const char *stname[] =
{ "INIT", "SCAN", "AUTH", "ASSOC", "RUN" };