summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/ehci_ixp4xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/controller/ehci_ixp4xx.c')
-rw-r--r--sys/dev/usb/controller/ehci_ixp4xx.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/usb/controller/ehci_ixp4xx.c b/sys/dev/usb/controller/ehci_ixp4xx.c
index 1b2f640..02554ec 100644
--- a/sys/dev/usb/controller/ehci_ixp4xx.c
+++ b/sys/dev/usb/controller/ehci_ixp4xx.c
@@ -221,14 +221,8 @@ ehci_ixp_detach(device_t self)
{
struct ixp_ehci_softc *isc = device_get_softc(self);
ehci_softc_t *sc = &isc->base;
- 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