Commit adf535ee authored by Adrian Bunk's avatar Adrian Bunk Committed by 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: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment