ae(4): Stop checking for failures from taskqueue_create_fast(M_WAITOK)

MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D45853
This commit is contained in:
Zhenlei Huang 2024-09-03 18:25:34 +08:00
parent 778ea7ed5a
commit 3f3f3ca25b

View file

@ -362,12 +362,6 @@ ae_attach(device_t dev)
*/
sc->tq = taskqueue_create_fast("ae_taskq", M_WAITOK,
taskqueue_thread_enqueue, &sc->tq);
if (sc->tq == NULL) {
device_printf(dev, "could not create taskqueue.\n");
ether_ifdetach(ifp);
error = ENXIO;
goto fail;
}
taskqueue_start_threads(&sc->tq, 1, PI_NET, "%s taskq",
device_get_nameunit(sc->dev));