diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/taskq.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/taskq.c b/src/core/taskq.c index 9ccd5845..e06bc264 100644 --- a/src/core/taskq.c +++ b/src/core/taskq.c @@ -40,9 +40,7 @@ nni_taskq_thread(void *self) for (;;) { if ((task = nni_list_first(&tq->tq_tasks)) != NULL) { - nni_mtx_lock(&task->task_mtx); nni_list_remove(&tq->tq_tasks, task); - nni_mtx_unlock(&task->task_mtx); nni_mtx_unlock(&tq->tq_mtx); |
