Переглянути джерело

ipmi: Remove unneeded set_run_to_completion call

send_panic_events() calls intf->handlers->set_run_to_completion(),
but it has already been done in the caller function panic_event().
Remove it from send_panic_events().

Signed-off-by: Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Hidehiro Kawai 10 роки тому
батько
коміт
b0868dd5c1
1 змінених файлів з 0 додано та 2 видалено
  1. 0 2
      drivers/char/ipmi/ipmi_msghandler.c

+ 0 - 2
drivers/char/ipmi/ipmi_msghandler.c

@@ -4368,9 +4368,7 @@ static void send_panic_events(char *str)
 			/* Interface is not ready. */
 			/* Interface is not ready. */
 			continue;
 			continue;
 
 
-		intf->run_to_completion = 1;
 		/* Send the event announcing the panic. */
 		/* Send the event announcing the panic. */
-		intf->handlers->set_run_to_completion(intf->send_info, 1);
 		ipmi_panic_request_and_wait(intf, &addr, &msg);
 		ipmi_panic_request_and_wait(intf, &addr, &msg);
 	}
 	}