From: Adrian Bunk Date: Tue, 29 Apr 2008 08:01:17 +0000 (-0700) Subject: ipmi: fix return from atca_oem_poweroff_hook X-Git-Tag: v2.6.26-rc1~513 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adf535eeaca9e3963698df7bc5b4634d6d07f809;p=linux-2.6 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 Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/ipmi/ipmi_poweroff.c b/drivers/char/ipmi/ipmi_poweroff.c index f776df7887..a261bd735d 100644 --- a/drivers/char/ipmi/ipmi_poweroff.c +++ b/drivers/char/ipmi/ipmi_poweroff.c @@ -308,7 +308,7 @@ static void ipmi_poweroff_atca(ipmi_user_t user) } if (atca_oem_poweroff_hook) - return atca_oem_poweroff_hook(user); + atca_oem_poweroff_hook(user); out: return; }