]> git.proxmox.com Git - mirror_qemu.git/commit - hw/intc/sh_intc.c
hw/intc/sh_intc: Avoid using continue in loops
authorBALATON Zoltan <balaton@eik.bme.hu>
Fri, 29 Oct 2021 21:02:09 +0000 (23:02 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 30 Oct 2021 16:39:37 +0000 (18:39 +0200)
commit418a221c2b8a97838980e61cdfef356ec6976e4b
treeb2b90988a805afbcb65952a1b5dc0e12e72f2e2a
parent85208f7a9756948ed16ef09d7982584528904430
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>
hw/intc/sh_intc.c