[PATCH v2 1/3] envctrl: Ignore orderly_poweroff return value
David Miller
davem at davemloft.net
Thu Apr 2 03:18:10 AEDT 2015
From: Joel Stanley <joel at jms.id.au>
Date: Wed, 1 Apr 2015 17:34:46 +1030
> orderly_poweroff() unconditionally returns 0, so remove the dead code
> that checks the return value.
>
> A future patch will change the return type to void.
>
> Signed-off-by: Joel Stanley <joel at jms.id.au>
Acked-by: David S. Miller <davem at davemloft.net>
More information about the Linuxppc-dev
mailing list