aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/dwc/if_dwc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/dwc/if_dwc.c')
-rw-r--r--sys/dev/dwc/if_dwc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/dwc/if_dwc.c b/sys/dev/dwc/if_dwc.c
index 17657045b73c..33657b33fe25 100644
--- a/sys/dev/dwc/if_dwc.c
+++ b/sys/dev/dwc/if_dwc.c
@@ -656,10 +656,6 @@ dwc_detach(device_t dev)
ether_ifdetach(sc->ifp);
}
- if (sc->miibus != NULL) {
- device_delete_child(dev, sc->miibus);
- sc->miibus = NULL;
- }
bus_generic_detach(dev);
/* Free DMA descriptors */