summaryrefslogtreecommitdiff
path: root/sys/net/if_trunk.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_trunk.c
parent8749267d90c3ba892bdcac767c8caede35936e6c (diff)
Remove redundant calls to bpfdetach.
ok brad@
Diffstat (limited to 'sys/net/if_trunk.c')
-rw-r--r--sys/net/if_trunk.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/net/if_trunk.c b/sys/net/if_trunk.c
index 513399bcfcd..08da7ec40cd 100644
--- a/sys/net/if_trunk.c
+++ b/sys/net/if_trunk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_trunk.c,v 1.18 2005/12/21 18:44:21 reyk Exp $ */
+/* $OpenBSD: if_trunk.c,v 1.19 2006/01/04 06:04:42 canacar Exp $ */
/*
* Copyright (c) 2005 Reyk Floeter <reyk@openbsd.org>
@@ -198,9 +198,6 @@ trunk_clone_destroy(struct ifnet *ifp)
}
ifmedia_delete_instance(&tr->tr_media, IFM_INST_ANY);
-#if NBPFILTER > 0
- bpfdetach(ifp);
-#endif
ether_ifdetach(ifp);
if_detach(ifp);