summaryrefslogtreecommitdiff
path: root/sys/net/if_vlan.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_vlan.c
parent8749267d90c3ba892bdcac767c8caede35936e6c (diff)
Remove redundant calls to bpfdetach.
ok brad@
Diffstat (limited to 'sys/net/if_vlan.c')
-rw-r--r--sys/net/if_vlan.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c
index e164aee9599..6d5c39b3e70 100644
--- a/sys/net/if_vlan.c
+++ b/sys/net/if_vlan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vlan.c,v 1.60 2005/10/23 14:07:11 mpf Exp $ */
+/* $OpenBSD: if_vlan.c,v 1.61 2006/01/04 06:04:42 canacar Exp $ */
/*
* Copyright 1998 Massachusetts Institute of Technology
@@ -151,9 +151,6 @@ vlan_clone_destroy(struct ifnet *ifp)
struct ifvlan *ifv = ifp->if_softc;
vlan_unconfig(ifp);
-#if NBPFILTER > 0
- bpfdetach(ifp);
-#endif
ether_ifdetach(ifp);
if_detach(ifp);