rt: Remove a lock from task_start_wrapper that does nothing
This commit is contained in:
parent
3cfcdb4bb2
commit
0f339b481a
1 changed files with 0 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue