From 0f339b481a8ae255f012f2218c8f5b5fc3d451ce Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 18 Nov 2011 13:37:00 -0800 Subject: rt: Remove a lock from task_start_wrapper that does nothing --- src/rt/rust_task.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/rt/rust_task.cpp') diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index a7d92b96e3c..848086dd368 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -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); } -- cgit 1.4.1-3-g733a5