diff options
author | Corey Minyard <cminyard@mvista.com> | 2018-04-06 06:07:33 +0300 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2018-04-18 18:23:01 +0300 |
commit | 8d17929ad50f2c9d4cf55e8f3eb249a60f429a0d (patch) | |
tree | c488ec12069b5ff53ae79efe986b0309e6287860 /drivers/char/ipmi | |
parent | a313dec6401f0ceaec77262b411d77c18aef27ee (diff) | |
download | linux-8d17929ad50f2c9d4cf55e8f3eb249a60f429a0d.tar.xz |
ipmi: Remove condition on interface shutdown
Now that the interfaces have shutdown handlers, this no longer
needs to be conditional.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/ipmi')
-rw-r--r-- | drivers/char/ipmi/ipmi_msghandler.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c index a27b50ac2b7f..7ddadab65f33 100644 --- a/drivers/char/ipmi/ipmi_msghandler.c +++ b/drivers/char/ipmi/ipmi_msghandler.c @@ -3744,8 +3744,7 @@ int ipmi_unregister_smi(struct ipmi_smi *intf) } srcu_read_unlock(&intf->users_srcu, index); - if (intf->handlers->shutdown) - intf->handlers->shutdown(intf->send_info); + intf->handlers->shutdown(intf->send_info); cleanup_smi_msgs(intf); |