summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/saf1761_otg_boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/controller/saf1761_otg_boot.c')
-rw-r--r--sys/dev/usb/controller/saf1761_otg_boot.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/usb/controller/saf1761_otg_boot.c b/sys/dev/usb/controller/saf1761_otg_boot.c
index a2acf06..cc9e9a1 100644
--- a/sys/dev/usb/controller/saf1761_otg_boot.c
+++ b/sys/dev/usb/controller/saf1761_otg_boot.c
@@ -124,13 +124,6 @@ static int
saf1761_otg_fdt_detach(device_t dev)
{
struct saf1761_otg_softc *sc = device_get_softc(dev);
- device_t bdev;
-
- if (sc->sc_bus.bdev) {
- bdev = sc->sc_bus.bdev;
- device_detach(bdev);
- device_delete_child(dev, bdev);
- }
/* during module unload there are lots of children leftover */
device_delete_children(dev);
OpenPOWER on IntegriCloud