mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-30 13:44:55 +00:00
bge(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:
parent
b29adaaf44
commit
d44bc2f07b
|
@ -3890,12 +3890,6 @@ bge_attach(device_t dev)
|
|||
~BGE_MSIMODE_ONE_SHOT_DISABLE);
|
||||
sc->bge_tq = taskqueue_create_fast("bge_taskq", M_WAITOK,
|
||||
taskqueue_thread_enqueue, &sc->bge_tq);
|
||||
if (sc->bge_tq == NULL) {
|
||||
device_printf(dev, "could not create taskqueue.\n");
|
||||
ether_ifdetach(ifp);
|
||||
error = ENOMEM;
|
||||
goto fail;
|
||||
}
|
||||
error = taskqueue_start_threads(&sc->bge_tq, 1, PI_NET,
|
||||
"%s taskq", device_get_nameunit(sc->bge_dev));
|
||||
if (error != 0) {
|
||||
|
|
Loading…
Reference in a new issue