diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2025-01-02 18:22:50 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2025-01-02 18:22:50 +0000 |
| commit | 160179ea3e24651cd8b15a4fafce519546eac505 (patch) | |
| tree | a12e1874b9677810e429f207b1b0b19d5d8affab /sys/dev/iicbus | |
| parent | 4e62c3cafa4c4e41efd6f87b7fe559cf819cf3e4 (diff) | |
Diffstat (limited to 'sys/dev/iicbus')
| -rw-r--r-- | sys/dev/iicbus/controller/opencores/iicoc_pci.c | 1 | ||||
| -rw-r--r-- | sys/dev/iicbus/iicsmb.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/iicbus/controller/opencores/iicoc_pci.c b/sys/dev/iicbus/controller/opencores/iicoc_pci.c index cecfa888349b..f01b4514936e 100644 --- a/sys/dev/iicbus/controller/opencores/iicoc_pci.c +++ b/sys/dev/iicbus/controller/opencores/iicoc_pci.c @@ -50,7 +50,6 @@ iicoc_detach(device_t dev) struct iicoc_softc *sc; sc = device_get_softc(dev); - device_delete_children(dev); bus_generic_detach(dev); bus_release_resource(dev, SYS_RES_MEMORY, sc->mem_rid, sc->mem_res); mtx_destroy(&sc->sc_mtx); diff --git a/sys/dev/iicbus/iicsmb.c b/sys/dev/iicbus/iicsmb.c index e502ad904070..a5885648632e 100644 --- a/sys/dev/iicbus/iicsmb.c +++ b/sys/dev/iicbus/iicsmb.c @@ -166,7 +166,6 @@ iicsmb_detach(device_t dev) struct iicsmb_softc *sc = (struct iicsmb_softc *)device_get_softc(dev); bus_generic_detach(dev); - device_delete_children(dev); mtx_destroy(&sc->lock); return (0); |
