stop_machine: remove unused variable
authorLi Zefan <lizf@cn.fujitsu.com>
Thu, 31 Jul 2008 02:31:02 +0000 (10:31 +0800)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 12 Aug 2008 07:52:55 +0000 (17:52 +1000)
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/stop_machine.c

index e446c7c7d6a9230dc1205cb73dd0370568696ed0..af3c7cea258b00d57762913a8986978495c2a81e 100644 (file)
@@ -65,7 +65,6 @@ static void ack_state(void)
 static int stop_cpu(struct stop_machine_data *smdata)
 {
        enum stopmachine_state curstate = STOPMACHINE_NONE;
-       int uninitialized_var(ret);
 
        /* Simple state machine */
        do {