summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_upl.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_upl.c
parent8749267d90c3ba892bdcac767c8caede35936e6c (diff)
Remove redundant calls to bpfdetach.
ok brad@
Diffstat (limited to 'sys/dev/usb/if_upl.c')
-rw-r--r--sys/dev/usb/if_upl.c5
1 files changed, 1 insertions, 4 deletions
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);