diff options
author | Can Erkin Acar <canacar@cvs.openbsd.org> | 2006-01-04 06:04:43 +0000 |
---|---|---|
committer | Can Erkin Acar <canacar@cvs.openbsd.org> | 2006-01-04 06:04:43 +0000 |
commit | 8d2a2c9b339664b5ddccec9fc44cc4f9da625bc2 (patch) | |
tree | 4bb4c77d6b39a86d53af127b318ad228758ac66d /sys/net/if_vlan.c | |
parent | 8749267d90c3ba892bdcac767c8caede35936e6c (diff) |
Remove redundant calls to bpfdetach.
ok brad@
Diffstat (limited to 'sys/net/if_vlan.c')
-rw-r--r-- | sys/net/if_vlan.c | 5 |
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); |