summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2008-11-02 12:19:05 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2008-11-02 12:19:05 +0000
commit4ef08f97785560af1a1072692c5c0c8a0c708ec5 (patch)
tree00846ed6eaed93e365e638a560a06c6ca8e4e1b8 /sys
parentcb7b5e6f110e610b934794d86291044ecb909982 (diff)
Remove second commented out call to ether_ifdetach() in
mos_detach().
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/if_mos.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/usb/if_mos.c b/sys/dev/usb/if_mos.c
index dfad0a79b46..c9fa5e074c3 100644
--- a/sys/dev/usb/if_mos.c
+++ b/sys/dev/usb/if_mos.c
@@ -757,8 +757,6 @@ mos_detach(struct device *self, int flags)
sc->mos_dying = 1;
- // ether_ifdetach(ifp);
-
if (sc->mos_ep[MOS_ENDPT_TX] != NULL)
usbd_abort_pipe(sc->mos_ep[MOS_ENDPT_TX]);
if (sc->mos_ep[MOS_ENDPT_RX] != NULL)