Commit 8d17929a authored by Corey Minyard's avatar Corey Minyard

ipmi: Remove condition on interface shutdown

Now that the interfaces have shutdown handlers, this no longer
needs to be conditional.
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent a313dec6
...@@ -3744,8 +3744,7 @@ int ipmi_unregister_smi(struct ipmi_smi *intf) ...@@ -3744,8 +3744,7 @@ 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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment