summaryrefslogtreecommitdiff
path: root/drivers/char/ipmi
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-29 01:01:17 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 08:06:16 -0700
commitadf535eeaca9e3963698df7bc5b4634d6d07f809 (patch)
tree35c6e78df62115ea04cc763f94a9f44af5c8e925 /drivers/char/ipmi
parent74006309c7f09c893c18cbb6f0e19137edd04239 (diff)
downloadlinux-3.10-adf535eeaca9e3963698df7bc5b4634d6d07f809.tar.gz
linux-3.10-adf535eeaca9e3963698df7bc5b4634d6d07f809.tar.bz2
linux-3.10-adf535eeaca9e3963698df7bc5b4634d6d07f809.zip
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')
-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 f776df78879..a261bd735df 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;
}