mec1308.c: Untangle successful vs failed init paths
Label mec1308_init_exit 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.
TEST=builds and ninja test from 51487
Signed-off-by: Anastasia Klimchuk <firstname.lastname@example.org>
Tested-by: build bot (Jenkins) <email@example.com>
Reviewed-by: Nico Huber <firstname.lastname@example.org>
1 file changed