aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-29 04:01:17 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 11:06:16 -0400
commitadf535eeaca9e3963698df7bc5b4634d6d07f809 (patch)
tree35c6e78df62115ea04cc763f94a9f44af5c8e925
parent74006309c7f09c893c18cbb6f0e19137edd04239 (diff)
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>
-rw-r--r--drivers/char/ipmi/ipmi_poweroff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_poweroff.c b/drivers/char/ipmi/ipmi_poweroff.c
index f776df788794..a261bd735dfb 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)
308 } 308 }
309 309
310 if (atca_oem_poweroff_hook) 310 if (atca_oem_poweroff_hook)
311 return atca_oem_poweroff_hook(user); 311 atca_oem_poweroff_hook(user);
312 out: 312 out:
313 return; 313 return;
314} 314}