diff options
author | Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com> | 2015-07-27 05:55:16 (GMT) |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2015-09-03 20:02:27 (GMT) |
commit | b0868dd5c17c0d9cc8919e786db2e428aa225621 (patch) | |
tree | 7b9f6c5f860e8ea23a17a07c8e20ada85e0a635b /drivers/char/ipmi | |
parent | 81d02b7f8c507f06299476a0e5b2aa677c5eaecb (diff) | |
download | linux-b0868dd5c17c0d9cc8919e786db2e428aa225621.tar.xz |
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.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c index e9ea29c..5e31c33 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); } |