mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 20:56:23 +00:00
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>
This commit is contained in:
parent
74006309c7
commit
adf535eeac
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ static void ipmi_poweroff_atca(ipmi_user_t user)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (atca_oem_poweroff_hook)
|
if (atca_oem_poweroff_hook)
|
||||||
return atca_oem_poweroff_hook(user);
|
atca_oem_poweroff_hook(user);
|
||||||
out:
|
out:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue