summaryrefslogtreecommitdiff
path: root/sys/net/if_faith.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_faith.c
parent8749267d90c3ba892bdcac767c8caede35936e6c (diff)
Remove redundant calls to bpfdetach.
ok brad@
Diffstat (limited to 'sys/net/if_faith.c')
-rw-r--r--sys/net/if_faith.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/net/if_faith.c b/sys/net/if_faith.c
index d4f0587efc1..2e66d742581 100644
--- a/sys/net/if_faith.c
+++ b/sys/net/if_faith.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_faith.c,v 1.19 2005/07/31 03:53:38 pascoe Exp $ */
+/* $OpenBSD: if_faith.c,v 1.20 2006/01/04 06:04:42 canacar Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
* The Regents of the University of California. All rights reserved.
@@ -121,9 +121,6 @@ int
faith_clone_destroy(ifp)
struct ifnet *ifp;
{
-#if NBPFILTER > 0
- bpfdetach(ifp);
-#endif
if_detach(ifp);
free(ifp, M_DEVBUF);