summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-06-29 03:15:37 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-06-29 03:15:37 +0000
commit686f0901263ddd363c48b934ee4acae06be8b419 (patch)
tree4ad83692ca0a5bf3b507ffcd21f965aa37c40a99 /sys/dev/pcmcia
parent333b276b6f1c0645b540d949c8960e76d2c1917b (diff)
No need to call bpfdetach(), that's done in if_detach().
Diffstat (limited to 'sys/dev/pcmcia')
-rw-r--r--sys/dev/pcmcia/if_ray.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/pcmcia/if_ray.c b/sys/dev/pcmcia/if_ray.c
index 58d2838959f..dcd8423bfbb 100644
--- a/sys/dev/pcmcia/if_ray.c
+++ b/sys/dev/pcmcia/if_ray.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ray.c,v 1.5 2000/05/18 03:46:14 mickey Exp $ */
+/* $OpenBSD: if_ray.c,v 1.6 2000/06/29 03:15:36 aaron Exp $ */
/* $NetBSD: if_ray.c,v 1.19 2000/04/22 22:36:14 thorpej Exp $ */
/*
@@ -728,9 +728,6 @@ ray_detach(self, flags)
ifmedia_delete_instance(&sc->sc_media, IFM_INST_ANY);
-#if NBPFILTER > 0
- bpfdetach(ifp);
-#endif
ether_ifdetach(ifp);
if_detach(ifp);
powerhook_disestablish(sc->sc_pwrhook);