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:
parent
a313dec640
commit
8d17929ad5
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue