diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2024-12-06 22:26:16 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2024-12-06 22:26:16 +0000 |
| commit | 18250ec6c089c0c50cbd9fd87d78e03ff89916df (patch) | |
| tree | f5dd88ced310b6c82afec1a89f7f23bc10b72913 /sys/dev/etherswitch/arswitch | |
| parent | 723da5d92f40a413585107f8455280ea575fe410 (diff) | |
Diffstat (limited to 'sys/dev/etherswitch/arswitch')
| -rw-r--r-- | sys/dev/etherswitch/arswitch/arswitch.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/etherswitch/arswitch/arswitch.c b/sys/dev/etherswitch/arswitch/arswitch.c index 395edf3322ae..92c3460e5f78 100644 --- a/sys/dev/etherswitch/arswitch/arswitch.c +++ b/sys/dev/etherswitch/arswitch/arswitch.c @@ -651,12 +651,7 @@ arswitch_attach(device_t dev) bus_identify_children(dev); bus_enumerate_hinted_children(dev); - err = bus_generic_attach(dev); - if (err != 0) { - DPRINTF(sc, ARSWITCH_DBG_ANY, - "%s: bus_generic_attach: err=%d\n", __func__, err); - return (err); - } + bus_attach_children(dev); callout_init_mtx(&sc->callout_tick, &sc->sc_mtx, 0); |
