Attention is currently required from: Felix Singer.
Felix Singer uploaded patch set #5 to this change.
libflashrom.c: Invert if conditions to improve the readability
Invert some if conditions to improve the readability of the code.
Instead of running some code if the specific condition applies, error
out early and reduce the indentation levels.
Also, while at it, move the initializers for these for-loops iterators
into their constructs. They are only used by them.
Change-Id: I4021d8802cd041dcca29a226af0798ebd9c5a81b
Signed-off-by: Felix Singer <felixsinger@posteo.net>
---
M libflashrom.c
1 file changed, 53 insertions(+), 36 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/53/68153/5
To view, visit change 68153. To unsubscribe, or for help writing mail filters, visit settings.