diff options
author | Can Erkin Acar <canacar@cvs.openbsd.org> | 2006-01-04 06:04:43 +0000 |
---|---|---|
committer | Can Erkin Acar <canacar@cvs.openbsd.org> | 2006-01-04 06:04:43 +0000 |
commit | 8d2a2c9b339664b5ddccec9fc44cc4f9da625bc2 (patch) | |
tree | 4bb4c77d6b39a86d53af127b318ad228758ac66d /sys/dev/usb | |
parent | 8749267d90c3ba892bdcac767c8caede35936e6c (diff) |
Remove redundant calls to bpfdetach.
ok brad@
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/if_atu.c | 5 | ||||
-rw-r--r-- | sys/dev/usb/if_ral.c | 5 | ||||
-rw-r--r-- | sys/dev/usb/if_upl.c | 5 | ||||
-rw-r--r-- | sys/dev/usb/ueagle.c | 5 |
4 files changed, 4 insertions, 16 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); diff --git a/sys/dev/usb/if_ral.c b/sys/dev/usb/if_ral.c index 58da1ae55ba..425a5a950a3 100644 --- a/sys/dev/usb/if_ral.c +++ b/sys/dev/usb/if_ral.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ral.c,v 1.53 2005/12/23 08:10:12 jsg Exp $ */ +/* $OpenBSD: if_ral.c,v 1.54 2006/01/04 06:04:41 canacar Exp $ */ /*- * Copyright (c) 2005 @@ -540,9 +540,6 @@ USB_DETACH(ural) ural_free_rx_list(sc); ural_free_tx_list(sc); -#if NBPFILTER > 0 - bpfdetach(ifp); -#endif ieee80211_ifdetach(ifp); if_detach(ifp); diff --git a/sys/dev/usb/if_upl.c b/sys/dev/usb/if_upl.c index eb46d766b1e..57370973563 100644 --- a/sys/dev/usb/if_upl.c +++ b/sys/dev/usb/if_upl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_upl.c,v 1.20 2005/08/01 05:36:48 brad Exp $ */ +/* $OpenBSD: if_upl.c,v 1.21 2006/01/04 06:04:41 canacar Exp $ */ /* $NetBSD: if_upl.c,v 1.19 2002/07/11 21:14:26 augustss Exp $ */ /* * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -371,9 +371,6 @@ USB_DETACH(upl) #if NRND > 0 rnd_detach_source(&sc->sc_rnd_source); #endif -#if NBPFILTER > 0 - bpfdetach(ifp); -#endif if_detach(ifp); diff --git a/sys/dev/usb/ueagle.c b/sys/dev/usb/ueagle.c index 5bb586e1135..b136811c761 100644 --- a/sys/dev/usb/ueagle.c +++ b/sys/dev/usb/ueagle.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ueagle.c,v 1.7 2005/08/04 06:59:36 canacar Exp $ */ +/* $OpenBSD: ueagle.c,v 1.8 2006/01/04 06:04:41 canacar Exp $ */ /*- * Copyright (c) 2003-2005 @@ -248,9 +248,6 @@ USB_DETACH(ueagle) USBDEVNAME(sc->sc_dev))); } -#if NBPFILTER > 0 - bpfdetach(ifp); -#endif if_detach(ifp); usbd_add_drv_event(USB_EVENT_DRIVER_DETACH, sc->sc_udev, |