diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-29 08:01:17 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 15:06:16 (GMT) |
commit | adf535eeaca9e3963698df7bc5b4634d6d07f809 (patch) | |
tree | 35c6e78df62115ea04cc763f94a9f44af5c8e925 /drivers/char/ipmi/ipmi_poweroff.c | |
parent | 74006309c7f09c893c18cbb6f0e19137edd04239 (diff) | |
download | linux-fsl-qoriq-adf535eeaca9e3963698df7bc5b4634d6d07f809.tar.xz |
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>
Diffstat (limited to 'drivers/char/ipmi/ipmi_poweroff.c')
-rw-r--r-- | drivers/char/ipmi/ipmi_poweroff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_poweroff.c b/drivers/char/ipmi/ipmi_poweroff.c index f776df7..a261bd7 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; } |