diff options
author | Edward O'Callaghan <quasisec@google.com> | 2023-02-26 16:53:40 +1100 |
---|---|---|
committer | Thomas Heijligen <src@posteo.de> | 2023-02-27 10:19:52 +0000 |
commit | 4ea3f6cbf84e7e876ad16430c317a713039fc0f2 (patch) | |
tree | 9bbcea0aed5f06a55ad5b3f95279a20c35c2e4a9 /tests | |
parent | 0facf12ca413adbe803c819f55938e41c440dde5 (diff) | |
download | flashrom-4ea3f6cbf84e7e876ad16430c317a713039fc0f2.tar.gz flashrom-4ea3f6cbf84e7e876ad16430c317a713039fc0f2.tar.bz2 flashrom-4ea3f6cbf84e7e876ad16430c317a713039fc0f2.zip |
jedec.c: Drop branching non-zero programmer_delay() operands
The programmer_delay() function is already tolerant upon zero
delay values and will simply just return with a NOP. Therefore
there is no need to branch.
Change-Id: Ic547669bb16e6ace4fe283e07345fc2d7075d63e
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/72692
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Thomas Heijligen <src@posteo.de>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions