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>
This commit is contained in:
Corey Minyard 2018-04-05 22:07:33 -05:00
parent a313dec640
commit 8d17929ad5

View File

@ -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);