summaryrefslogtreecommitdiffstats
path: root/drivers/char/ipmi
diff options
context:
space:
mode:
authorHidehiro Kawai <hidehiro.kawai.ez@hitachi.com>2015-07-27 14:55:16 +0900
committerCorey Minyard <cminyard@mvista.com>2015-09-03 15:02:27 -0500
commitb0868dd5c17c0d9cc8919e786db2e428aa225621 (patch)
tree7b9f6c5f860e8ea23a17a07c8e20ada85e0a635b /drivers/char/ipmi
parent81d02b7f8c507f06299476a0e5b2aa677c5eaecb (diff)
downloadlinux-b0868dd5c17c0d9cc8919e786db2e428aa225621.tar.gz
linux-b0868dd5c17c0d9cc8919e786db2e428aa225621.tar.bz2
linux-b0868dd5c17c0d9cc8919e786db2e428aa225621.zip
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>
Diffstat (limited to 'drivers/char/ipmi')
-rw-r--r--drivers/char/ipmi/ipmi_msghandler.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c
index e9ea29c4ec60..5e31c339062e 100644
--- a/drivers/char/ipmi/ipmi_msghandler.c
+++ b/drivers/char/ipmi/ipmi_msghandler.c
@@ -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);
}