diff --git a/sys/arm/ti/cpsw/if_cpsw.c b/sys/arm/ti/cpsw/if_cpsw.c --- a/sys/arm/ti/cpsw/if_cpsw.c +++ b/sys/arm/ti/cpsw/if_cpsw.c @@ -960,11 +960,6 @@ mtx_destroy(&sc->rx.lock); mtx_destroy(&sc->tx.lock); - /* Detach the switch device, if present. */ - error = bus_generic_detach(dev); - if (error != 0) - return (error); - return (0); }