mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
jme(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 3fdef8e855027d5c9bec06e2a53e8f99f7d5694b)
This commit is contained in:
parent
f6c8db29aa
commit
6b25a8f079
1 changed files with 0 additions and 6 deletions
|
|
@ -873,12 +873,6 @@ jme_attach(device_t dev)
|
|||
/* Create local taskq. */
|
||||
sc->jme_tq = taskqueue_create_fast("jme_taskq", M_WAITOK,
|
||||
taskqueue_thread_enqueue, &sc->jme_tq);
|
||||
if (sc->jme_tq == NULL) {
|
||||
device_printf(dev, "could not create taskqueue.\n");
|
||||
ether_ifdetach(ifp);
|
||||
error = ENXIO;
|
||||
goto fail;
|
||||
}
|
||||
taskqueue_start_threads(&sc->jme_tq, 1, PI_NET, "%s taskq",
|
||||
device_get_nameunit(sc->jme_dev));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue