rt: Remove a lock from task_start_wrapper that does nothing
This commit is contained in:
parent
3cfcdb4bb2
commit
0f339b481a
@ -210,9 +210,6 @@ void task_start_wrapper(spawn_args *a)
|
||||
#else
|
||||
A(task->sched, false, "Shouldn't happen");
|
||||
#endif
|
||||
} else {
|
||||
task->lock.lock();
|
||||
task->lock.unlock();
|
||||
}
|
||||
task->ctx.next->swap(task->ctx);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user