summaryrefslogtreecommitdiffstats
path: root/hw/timer
diff options
context:
space:
mode:
authorStefan Weil2013-05-24 12:19:25 +0200
committerMichael Tokarev2013-06-01 12:25:38 +0200
commit6681fca3fc5f44eff68a0c0b2e62694f8579ce28 (patch)
tree889f7dedd18f92ac932f85fbff205691e7c8c7a7 /hw/timer
parentdon't run pkg-config for features explicitly disabled (diff)
downloadqemu-6681fca3fc5f44eff68a0c0b2e62694f8579ce28.tar.gz
qemu-6681fca3fc5f44eff68a0c0b2e62694f8579ce28.tar.xz
qemu-6681fca3fc5f44eff68a0c0b2e62694f8579ce28.zip
Remove unnecessary break statements
Fix these warnings from cppcheck: hw/display/cirrus_vga.c:2603: hw/sd/sd.c:348: hw/timer/exynos4210_mct.c:1033: target-arm/translate.c:9886: target-s390x/mem_helper.c:518: target-unicore32/translate.c:1936: style: Consecutive return, break, continue, goto or throw statements are unnecessary. Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/timer')
-rw-r--r--hw/timer/exynos4210_mct.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/timer/exynos4210_mct.c b/hw/timer/exynos4210_mct.c
index 87ce75b643..38dcc1ac64 100644
--- a/hw/timer/exynos4210_mct.c
+++ b/hw/timer/exynos4210_mct.c
@@ -1030,7 +1030,6 @@ static uint64_t exynos4210_mct_read(void *opaque, hwaddr offset,
case G_INT_ENB:
value = s->g_timer.reg.int_enb;
break;
- break;
case G_WSTAT:
value = s->g_timer.reg.wstat;
break;