mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
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:
parent
5de9286b9a
commit
ea86e323e5
1 changed files with 0 additions and 6 deletions
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue