提交 8d17929a 编写于 作者: C 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: NCorey Minyard <cminyard@mvista.com>
上级 a313dec6
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册