Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0868dd5 authored by Hidehiro Kawai's avatar Hidehiro Kawai Committed by Corey Minyard
Browse files

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: default avatarHidehiro Kawai <hidehiro.kawai.ez@hitachi.com>
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent 81d02b7f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -4368,9 +4368,7 @@ static void send_panic_events(char *str)
			/* Interface is not ready. */
			continue;

		intf->run_to_completion = 1;
		/* Send the event announcing the panic. */
		intf->handlers->set_run_to_completion(intf->send_info, 1);
		ipmi_panic_request_and_wait(intf, &addr, &msg);
	}