diff --git a/src/task.c b/src/task.c index a9c501abb..abcb13baa 100644 --- a/src/task.c +++ b/src/task.c @@ -342,9 +342,6 @@ void process_runnable_tasks() } #endif - /* Make sure nobody re-adds the task in the runqueue */ - _HA_ATOMIC_OR(&t->state, TASK_RUNNING); - /* And add it to the local task list */ task_insert_into_tasklet_list(t); }