mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-29 01:21:56 +01:00

We do not need to iterate over all values in the loop, we can break the loop when we found a valid counter that is not started yet. Signed-off-by: Manuel Hernández Méndez <maherme.dev@gmail.com> Link: https://lore.kernel.org/r/20250721160712.8766-1-maherme.dev@gmail.com Signed-off-by: Anup Patel <anup@brainfault.org>