diff options
author | Corey Minyard <cminyard@mvista.com> | 2018-04-05 22:07:33 -0500 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2018-04-18 10:23:01 -0500 |
commit | 8d17929ad50f2c9d4cf55e8f3eb249a60f429a0d (patch) | |
tree | c488ec12069b5ff53ae79efe986b0309e6287860 /drivers/char | |
parent | a313dec6401f0ceaec77262b411d77c18aef27ee (diff) | |
download | op-kernel-dev-8d17929ad50f2c9d4cf55e8f3eb249a60f429a0d.zip op-kernel-dev-8d17929ad50f2c9d4cf55e8f3eb249a60f429a0d.tar.gz |
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')
-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 a27b50a..7ddadab 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); |