Skip to contentSkip to conversation

stop_machine: remove unused variable

PATCH Applied Li Zefan 2 participants 2 messages Jul 31, 2008 – Aug 4, 2008

lore
Share & tools
lore

Li Zefan

author
#0 lore raw

PATCH 1/1 stop_machine: remove unused variable

---
 kernel/stop_machine.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
kernel/stop_machine.c +0 -1
index e446c7c..af3c7ce 100644
@@ -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 {
Signature · 1 line
1.5.4.rc3
#1 lore raw

kernel/stop_machine.c static void ack_state(void) · line 68

Quoted 5 lines · On Thursday 31 July 2008 12:31:02 Li Zefan wrote:

static int stop_cpu(struct stop_machine_data *smdata) {

kernel/stop_machine.c +0 -1
 	enum stopmachine_state curstate = STOPMACHINE_NONE;
-	int uninitialized_var(ret);

Thanks, applied!

Rusty.