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

Spotted by sparse.

Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
Signed-off-by: Corey Minyard <[EMAIL PROTECTED]>

Index: linux-2.6.24/drivers/char/ipmi/ipmi_poweroff.c
===================================================================
--- linux-2.6.24.orig/drivers/char/ipmi/ipmi_poweroff.c
+++ linux-2.6.24/drivers/char/ipmi/ipmi_poweroff.c
@@ -308,7 +308,7 @@ static void ipmi_poweroff_atca(ipmi_user
        }
 
        if (atca_oem_poweroff_hook)
-               return atca_oem_poweroff_hook(user);
+               atca_oem_poweroff_hook(user);
  out:
        return;
 }

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Openipmi-developer mailing list
Openipmi-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openipmi-developer

Reply via email to