From 4c3b882b6efbf091fdc0109a952844668d431e6a Mon Sep 17 00:00:00 2001 From: Zhou Yingchao Date: Mon, 4 Dec 2006 13:58:06 +0100 Subject: Remove redundant up() in stop_machine() An up() is called in kernel/stop_machine.c on failure, and also in the caller (unconditionally). Signed-off-by: Zhou Yingchao Signed-off-by: Adrian Bunk --- kernel/stop_machine.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c index dcfb5d731466..51cacd111dbd 100644 --- a/kernel/stop_machine.c +++ b/kernel/stop_machine.c @@ -111,7 +111,6 @@ static int stop_machine(void) /* If some failed, kill them all. */ if (ret < 0) { stopmachine_set_state(STOPMACHINE_EXIT); - up(&stopmachine_mutex); return ret; } -- cgit v1.2.3