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
1 changed files with 1 additions and 2 deletions

View File

@ -3744,7 +3744,6 @@ int ipmi_unregister_smi(struct ipmi_smi *intf)
} }
srcu_read_unlock(&intf->users_srcu, index); 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); cleanup_smi_msgs(intf);