aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ae
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/ae
parentcf416f56eb73006b32f9279da6a848299ede3f1d (diff)
Diffstat (limited to 'sys/dev/ae')
-rw-r--r--sys/dev/ae/if_ae.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/ae/if_ae.c b/sys/dev/ae/if_ae.c
index adbb3e48a4e3..2525c7aa4510 100644
--- a/sys/dev/ae/if_ae.c
+++ b/sys/dev/ae/if_ae.c
@@ -761,10 +761,6 @@ ae_detach(device_t dev)
taskqueue_free(sc->tq);
sc->tq = NULL;
}
- if (sc->miibus != NULL) {
- device_delete_child(dev, sc->miibus);
- sc->miibus = NULL;
- }
bus_generic_detach(sc->dev);
ae_dma_free(sc);
if (sc->intrhand != NULL) {