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/usb | |
| parent | 4e62c3cafa4c4e41efd6f87b7fe559cf819cf3e4 (diff) | |
Diffstat (limited to 'sys/dev/usb')
| -rw-r--r-- | sys/dev/usb/misc/cp2112.c | 1 | ||||
| -rw-r--r-- | sys/dev/usb/misc/i2ctinyusb.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/usb/misc/cp2112.c b/sys/dev/usb/misc/cp2112.c index e3587241f412..d4776ca342cb 100644 --- a/sys/dev/usb/misc/cp2112.c +++ b/sys/dev/usb/misc/cp2112.c @@ -1345,7 +1345,6 @@ cp2112iic_detach(device_t dev) err = bus_generic_detach(dev); if (err != 0) return (err); - device_delete_children(dev); mtx_lock(&sc->io.lock); usbd_transfer_stop(sc->xfers[CP2112_INTR_IN]); diff --git a/sys/dev/usb/misc/i2ctinyusb.c b/sys/dev/usb/misc/i2ctinyusb.c index 47f27d9383a6..ca40fd5baf5c 100644 --- a/sys/dev/usb/misc/i2ctinyusb.c +++ b/sys/dev/usb/misc/i2ctinyusb.c @@ -193,7 +193,6 @@ i2ctinyusb_detach(device_t dev) err = bus_generic_detach(dev); if (err != 0) return (err); - device_delete_children(dev); mtx_destroy(&sc->sc_mtx); |
