summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_atu.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/usb/if_atu.c
parent8749267d90c3ba892bdcac767c8caede35936e6c (diff)
Remove redundant calls to bpfdetach.
ok brad@
Diffstat (limited to 'sys/dev/usb/if_atu.c')
-rw-r--r--sys/dev/usb/if_atu.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/usb/if_atu.c b/sys/dev/usb/if_atu.c
index b58b77115f7..275e28c1dc2 100644
--- a/sys/dev/usb/if_atu.c
+++ b/sys/dev/usb/if_atu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_atu.c,v 1.64 2005/08/01 05:36:47 brad Exp $ */
+/* $OpenBSD: if_atu.c,v 1.65 2006/01/04 06:04:41 canacar Exp $ */
/*
* Copyright (c) 2003, 2004
* Daan Vreeken <Danovitsch@Vitsch.net>. All rights reserved.
@@ -1494,9 +1494,6 @@ USB_DETACH(atu)
if (sc->sc_state != ATU_S_UNCONFIG) {
atu_stop(ifp, 1);
-#if NBPFILTER > 0
- bpfdetach(ifp);
-#endif
ieee80211_ifdetach(ifp);
if_detach(ifp);