diff options
Diffstat (limited to 'sys/mips/rt305x/rt305x_ehci.c')
-rw-r--r-- | sys/mips/rt305x/rt305x_ehci.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/mips/rt305x/rt305x_ehci.c b/sys/mips/rt305x/rt305x_ehci.c index 9b2fa22..0930aff 100644 --- a/sys/mips/rt305x/rt305x_ehci.c +++ b/sys/mips/rt305x/rt305x_ehci.c @@ -175,14 +175,8 @@ static int ehci_obio_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); |