Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Adrian Bunk and committed by
Linus Torvalds
adf535ee 74006309

+1 -1
+1 -1
drivers/char/ipmi/ipmi_poweroff.c
··· 308 308 } 309 309 310 310 if (atca_oem_poweroff_hook) 311 - return atca_oem_poweroff_hook(user); 311 + atca_oem_poweroff_hook(user); 312 312 out: 313 313 return; 314 314 }