Misleading reference to UPower and missing error assignment
xfsm_shutdown_can_suspend()
xfsm_shutdown_can_hibernate()
xfsm_shutdown_can_hybrid_sleep()
do not go through UPower anymore (since ages...).
The else branches are useless because xfsm_shutdown_can_{suspend,hibernate,hybrid_sleep}
do not pass the error pointer to xfce_{consolekit,systemd}_can_*
and never fail: