summaryrefslogtreecommitdiffstats
path: root/hw/intc/aspeed_vic.c
diff options
context:
space:
mode:
authorRichard Henderson2018-08-18 21:01:05 +0200
committerLaurent Vivier2018-08-21 23:54:48 +0200
commit72eb7ea8f9e97313555b4bc2aa638330c725679a (patch)
tree2903be9e02621272d1d336450f7b339e70ede255 /hw/intc/aspeed_vic.c
parentlinux-user: Split out do_syscall1 (diff)
downloadqemu-72eb7ea8f9e97313555b4bc2aa638330c725679a.tar.gz
qemu-72eb7ea8f9e97313555b4bc2aa638330c725679a.tar.xz
qemu-72eb7ea8f9e97313555b4bc2aa638330c725679a.zip
linux-user: Relax single exit from "break"
Transform outermost "break" to "return ret". If the immediately preceeding statement was an assignment to ret, return the value directly. Reviewed-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20180818190118.12911-4-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/intc/aspeed_vic.c')
0 files changed, 0 insertions, 0 deletions