summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2023-04-25 10:54:38 -0600
committerTom Rini <[email protected]>2023-04-27 13:51:06 -0400
commit6579bb00cf4f072084a02e806b214eed95a9e5bc (patch)
treea2e6e8e454b8f11d54735f51937ddcfa9ccc105d /include
parent2a165956ac804ebd825ba9eaf4fe26c9bbfb8925 (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 <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions