summaryrefslogtreecommitdiff
path: root/sys/dev/ic/awi.c
diff options
context:
space:
mode:
authorCan Erkin Acar <canacar@cvs.openbsd.org>2006-01-04 06:04:43 +0000
committerCan Erkin Acar <canacar@cvs.openbsd.org>2006-01-04 06:04:43 +0000
commit8d2a2c9b339664b5ddccec9fc44cc4f9da625bc2 (patch)
tree4bb4c77d6b39a86d53af127b318ad228758ac66d /sys/dev/ic/awi.c
parent8749267d90c3ba892bdcac767c8caede35936e6c (diff)
Remove redundant calls to bpfdetach.
ok brad@
Diffstat (limited to 'sys/dev/ic/awi.c')
-rw-r--r--sys/dev/ic/awi.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/ic/awi.c b/sys/dev/ic/awi.c
index 685b2dd2a36..4d14123f95d 100644
--- a/sys/dev/ic/awi.c
+++ b/sys/dev/ic/awi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: awi.c,v 1.19 2005/05/23 23:26:55 tedu Exp $ */
+/* $OpenBSD: awi.c,v 1.20 2006/01/04 06:04:41 canacar Exp $ */
/* $NetBSD: awi.c,v 1.26 2000/07/21 04:48:55 onoe Exp $ */
/*-
@@ -389,9 +389,6 @@ awi_detach(sc)
}
if (sc->sc_wep_ctx != NULL)
free(sc->sc_wep_ctx, M_DEVBUF);
-#if NBPFILTER > 0
- bpfdetach(ifp);
-#endif
#ifdef IFM_IEEE80211
ifmedia_delete_instance(&sc->sc_media, IFM_INST_ANY);
#endif