summaryrefslogtreecommitdiffstats
path: root/cli_classic.c
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2021-04-27 11:36:10 +1000
committerNico Huber <nico.h@gmx.de>2021-04-29 07:10:47 +0000
commit4cc7363d2520825aa300d81a67de71aede193f15 (patch)
tree249eae2ec7fb12fe6805260957aebd121254cf7a /cli_classic.c
parent02350a6fcca8102d9927c6dbc6ce0095ac4051ba (diff)
downloadflashrom-4cc7363d2520825aa300d81a67de71aede193f15.tar.gz
flashrom-4cc7363d2520825aa300d81a67de71aede193f15.tar.bz2
flashrom-4cc7363d2520825aa300d81a67de71aede193f15.zip
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. BUG=b:185191942 TEST=builds Change-Id: Iac295f1353785cd73d7cb2f19e4a8cbb69beb576 Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/52685 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'cli_classic.c')
0 files changed, 0 insertions, 0 deletions