diff options
Diffstat (limited to 'sys/dev/pcf/pcf_isa.c')
| -rw-r--r-- | sys/dev/pcf/pcf_isa.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/pcf/pcf_isa.c b/sys/dev/pcf/pcf_isa.c index 190554258c3a..f86caed87e6a 100644 --- a/sys/dev/pcf/pcf_isa.c +++ b/sys/dev/pcf/pcf_isa.c @@ -192,9 +192,6 @@ pcf_isa_detach(device_t dev) if ((rv = bus_generic_detach(dev)) != 0) return (rv); - if ((rv = device_delete_child(dev, sc->iicbus)) != 0) - return (rv); - if (sc->res_irq != 0) { bus_teardown_intr(dev, sc->res_irq, sc->intr_cookie); bus_release_resource(dev, SYS_RES_IRQ, sc->rid_irq, sc->res_irq); |
