ene_lpc.c: Untangle successful vs failed init paths
Exit label now serves as failed init path, it does cleanup and
returns 1, so it is renamed into init_err_exit.
Since all error paths return 1, and successful init is separated
from failure, there is no need to have ret variable anymore.
Signed-off-by: Anastasia Klimchuk <firstname.lastname@example.org>
Reviewed-by: Angel Pons <email@example.com>
Reviewed-by: Nico Huber <firstname.lastname@example.org>
Tested-by: build bot (Jenkins) <email@example.com>
1 file changed