diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-06-20 10:01:08 +0200 |
---|---|---|
committer | Thomas Heijligen <src@posteo.de> | 2022-08-24 20:54:07 +0000 |
commit | 75b745544191b7c27db24563f54b64a0b6fdbf31 (patch) | |
tree | 443a89cf2df2618bfb61d22cc65af21b226610fc /bindings | |
parent | 1b880756d43e499d3dcd13a5d138ec1da9a59ace (diff) | |
download | flashrom-75b745544191b7c27db24563f54b64a0b6fdbf31.tar.gz flashrom-75b745544191b7c27db24563f54b64a0b6fdbf31.tar.bz2 flashrom-75b745544191b7c27db24563f54b64a0b6fdbf31.zip |
ichspi.c: Clean up get_ich_spi_mode_param()
Instead of checking for the variable arg in multiple compound
statements, separate it out in its own branch and return 0 if arg is
NULL.
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Change-Id: Id1038568ff25cf6f0895b26921cc4a0d7bcfabb7
Reviewed-on: https://review.coreboot.org/c/flashrom/+/65248
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Thomas Heijligen <src@posteo.de>
Diffstat (limited to 'bindings')
0 files changed, 0 insertions, 0 deletions