rt: Remove a lock from task_start_wrapper that does nothing

This commit is contained in:
Brian Anderson 2011-11-18 13:37:00 -08:00
parent 3cfcdb4bb2
commit 0f339b481a

View File

@ -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);
}