summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/ehci_mv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/controller/ehci_mv.c')
-rw-r--r--sys/dev/usb/controller/ehci_mv.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/usb/controller/ehci_mv.c b/sys/dev/usb/controller/ehci_mv.c
index cd7d549..f433b4b 100644
--- a/sys/dev/usb/controller/ehci_mv.c
+++ b/sys/dev/usb/controller/ehci_mv.c
@@ -264,14 +264,8 @@ static int
mv_ehci_detach(device_t self)
{
ehci_softc_t *sc = device_get_softc(self);
- device_t bdev;
int err;
- if (sc->sc_bus.bdev) {
- bdev = sc->sc_bus.bdev;
- device_detach(bdev);
- device_delete_child(self, bdev);
- }
/* during module unload there are lots of children leftover */
device_delete_children(self);
OpenPOWER on IntegriCloud