aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/dwc
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2025-01-02 18:22:35 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2025-01-02 18:22:35 +0000
commit4e62c3cafa4c4e41efd6f87b7fe559cf819cf3e4 (patch)
tree972b75c28e8e8f26c7f940e17ac9eccc373607ca /sys/dev/dwc
parentcf416f56eb73006b32f9279da6a848299ede3f1d (diff)
Diffstat (limited to 'sys/dev/dwc')
-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 */