aboutsummaryrefslogtreecommitdiffstats
path: root/spi.h
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2021-04-26 15:10:34 +1000
committerNico Huber <nico.h@gmx.de>2021-04-27 10:29:56 +0000
commit8baf98d2ea48ee633e81ea990af81bbec82c7a02 (patch)
tree77330fc694319f39d71e4ec0d57190fc0a1b7e01 /spi.h
parent914aa7e60eff94864acc892d6228023e261524a8 (diff)
downloadflashrom-8baf98d2ea48ee633e81ea990af81bbec82c7a02.tar.gz
flashrom-8baf98d2ea48ee633e81ea990af81bbec82c7a02.tar.bz2
flashrom-8baf98d2ea48ee633e81ea990af81bbec82c7a02.zip
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 BUG=b:185191942 Change-Id: Ibf35335501e59636c544af124ad7a04a186790b4 Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/52596 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'spi.h')
0 files changed, 0 insertions, 0 deletions