summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ath.c
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2007-10-13 16:12:30 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2007-10-13 16:12:30 +0000
commita2dccf6b8b407216d5c20f86c4d908936325bdcf (patch)
tree44280c3eaf6675cae2f7bb1eb421b6fa2639e41c /sys/dev/ic/ath.c
parent329e9065abbefe6ee6cdf5d4710cdea84afe573b (diff)
remove unneeded declarations that shadows existing vars; ok by many.
Diffstat (limited to 'sys/dev/ic/ath.c')
-rw-r--r--sys/dev/ic/ath.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ic/ath.c b/sys/dev/ic/ath.c
index b60b488db97..d8dbc2d6d96 100644
--- a/sys/dev/ic/ath.c
+++ b/sys/dev/ic/ath.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ath.c,v 1.68 2007/10/01 04:03:51 krw Exp $ */
+/* $OpenBSD: ath.c,v 1.69 2007/10/13 16:12:29 fgsch Exp $ */
/* $NetBSD: ath.c,v 1.37 2004/08/18 21:59:39 dyoung Exp $ */
/*-
@@ -1119,8 +1119,6 @@ ath_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
if (error == ENETRESET) {
if ((ifp->if_flags & (IFF_RUNNING|IFF_UP)) ==
(IFF_RUNNING|IFF_UP)) {
- struct ieee80211com *ic = &sc->sc_ic;
-
if (ic->ic_opmode != IEEE80211_M_MONITOR)
ath_init(ifp); /* XXX lose error */
else