summaryrefslogtreecommitdiff
path: root/sys/net/if_loop.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/net/if_loop.c
parent8749267d90c3ba892bdcac767c8caede35936e6c (diff)
Remove redundant calls to bpfdetach.
ok brad@
Diffstat (limited to 'sys/net/if_loop.c')
-rw-r--r--sys/net/if_loop.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c
index 2bd8096208b..d3556ef14e8 100644
--- a/sys/net/if_loop.c
+++ b/sys/net/if_loop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_loop.c,v 1.37 2005/08/02 13:42:05 markus Exp $ */
+/* $OpenBSD: if_loop.c,v 1.38 2006/01/04 06:04:42 canacar Exp $ */
/* $NetBSD: if_loop.c,v 1.15 1996/05/07 02:40:33 thorpej Exp $ */
/*
@@ -223,9 +223,6 @@ loop_clone_destroy(ifp)
if (ifp == lo0ifp)
return (EPERM);
-#if NBPFILTER > 0
- bpfdetach(ifp);
-#endif
if_detach(ifp);
free(ifp, M_DEVBUF);