diff options
author | Simon Glass <sjg@chromium.org> | 2023-04-25 10:54:39 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-04-27 13:51:06 -0400 |
commit | 9367e6174aba22cd376e9d2c8fc1260115f44f97 (patch) | |
tree | a87330b224c8242e70d5ebf6a1112bc00ffaaaed /test/py/u_boot_utils.py | |
parent | 6579bb00cf4f072084a02e806b214eed95a9e5bc (diff) |
ide: Simplify success condition
Change the if() to remove extra brackets and check for the positive case
first, i.e. when a device is found. Exit the loop in that case, with the
retry logic in the 'else' part.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py/u_boot_utils.py')
0 files changed, 0 insertions, 0 deletions