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

MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D45853

(cherry picked from commit 5cece2c24b)
This commit is contained in:
Zhenlei Huang 2024-09-03 18:25:35 +08:00
parent 5de9286b9a
commit ea86e323e5

View file

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