提交 adf535ee 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

ipmi: fix return from atca_oem_poweroff_hook

A void returning function returned the return value of another void
returning function...

Spotted by sparse.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NCorey Minyard <cminyard@mvista.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 74006309
...@@ -308,7 +308,7 @@ static void ipmi_poweroff_atca(ipmi_user_t user) ...@@ -308,7 +308,7 @@ static void ipmi_poweroff_atca(ipmi_user_t user)
} }
if (atca_oem_poweroff_hook) if (atca_oem_poweroff_hook)
return atca_oem_poweroff_hook(user); atca_oem_poweroff_hook(user);
out: out:
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册