summary refs log tree commit diff stats
path: root/hw/core/gpio.c
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2021-10-29 23:02:09 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2021-10-30 18:39:37 +0200
commit418a221c2b8a97838980e61cdfef356ec6976e4b (patch)
treeb2b90988a805afbcb65952a1b5dc0e12e72f2e2a /hw/core/gpio.c
parent85208f7a9756948ed16ef09d7982584528904430 (diff)
downloadfocaccia-qemu-418a221c2b8a97838980e61cdfef356ec6976e4b.tar.gz
focaccia-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/core/gpio.c')
0 files changed, 0 insertions, 0 deletions