diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2008-11-02 10:46:11 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2008-11-02 10:46:11 +0000 |
commit | 3a11052a44abc74931b0eef152797713492b211d (patch) | |
tree | a9d1144d6ee993091a9154fae23c21882a401290 /sys/dev/usb | |
parent | ed999272ebd7f53d0236922c4a3fc81d433b3c4f (diff) |
Remove duplicate call to ether_ifdetach() in axe_detach()
which has been there since rev 1.1.
Spotted by Johann Christian Rode <jcrode@gmx.net>
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/if_axe.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/usb/if_axe.c b/sys/dev/usb/if_axe.c index 10f8968fda8..cc6880b87c0 100644 --- a/sys/dev/usb/if_axe.c +++ b/sys/dev/usb/if_axe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_axe.c,v 1.88 2008/10/02 20:21:14 brad Exp $ */ +/* $OpenBSD: if_axe.c,v 1.89 2008/11/02 10:46:10 jsg Exp $ */ /* * Copyright (c) 2005, 2006, 2007 Jonathan Gray <jsg@openbsd.org> @@ -755,8 +755,6 @@ axe_detach(struct device *self, int flags) sc->axe_dying = 1; - ether_ifdetach(ifp); - if (sc->axe_ep[AXE_ENDPT_TX] != NULL) usbd_abort_pipe(sc->axe_ep[AXE_ENDPT_TX]); if (sc->axe_ep[AXE_ENDPT_RX] != NULL) |