diff options
author | BALATON Zoltan | 2021-10-29 23:02:09 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé | 2021-10-30 18:39:37 +0200 |
commit | 418a221c2b8a97838980e61cdfef356ec6976e4b (patch) | |
tree | b2b90988a805afbcb65952a1b5dc0e12e72f2e2a /hw/timer/allwinner-a10-pit.c | |
parent | hw/intc/sh_intc: Replace abort() with g_assert_not_reached() (diff) | |
download | qemu-418a221c2b8a97838980e61cdfef356ec6976e4b.tar.gz qemu-418a221c2b8a97838980e61cdfef356ec6976e4b.tar.xz qemu-418a221c2b8a97838980e61cdfef356ec6976e4b.zip |
hw/intc/sh_intc: Avoid using continue in loops
Instead of if !expr continue else do something it is more straight
forward to say if expr then do something, especially if the action is
just a few lines. Remove such uses of continue to make the code easier
to follow.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <0efaa5e7a1a3ee11f82b3bb1942c287576c67f8b.1635541329.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/timer/allwinner-a10-pit.c')
0 files changed, 0 insertions, 0 deletions