diff options
author | Simon Glass <sjg@chromium.org> | 2023-04-25 10:54:38 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-04-27 13:51:06 -0400 |
commit | 6579bb00cf4f072084a02e806b214eed95a9e5bc (patch) | |
tree | a2e6e8e454b8f11d54735f51937ddcfa9ccc105d /test/py/conftest.py | |
parent | 2a165956ac804ebd825ba9eaf4fe26c9bbfb8925 (diff) |
ide: Refactor confusing loop code
This code is hard to follow as it uses #ifdef in a strange way. Adjust
it to avoid the preprocessor. Drop the special return for the non-ATAPI
case since we can rely on tries becoming 0 and exiting the loop.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py/conftest.py')
0 files changed, 0 insertions, 0 deletions