aboutsummaryrefslogtreecommitdiff
path: root/target/ppc
diff options
context:
space:
mode:
authorLiao Pingfang <liao.pingfang@zte.com.cn>2020-07-13 17:03:45 +0800
committerLaurent Vivier <laurent@vivier.eu>2020-09-01 08:34:08 +0200
commit3ca5ab7cd220927af4b2c3fb9cf3b201a7a8b509 (patch)
treeb7708d58a41eb7617678dd68eba71856c67b48c1 /target/ppc
parent24df83eb28a53766bd08b67dfb0d113a745a9ecf (diff)
downloadqemu-3ca5ab7cd220927af4b2c3fb9cf3b201a7a8b509.zip
qemu-3ca5ab7cd220927af4b2c3fb9cf3b201a7a8b509.tar.gz
qemu-3ca5ab7cd220927af4b2c3fb9cf3b201a7a8b509.tar.bz2
target/ppc: Remove superfluous breaks
Remove superfluous breaks, as there is a "return" before them. Signed-off-by: Liao Pingfang <liao.pingfang@zte.com.cn> Signed-off-by: Yi Wang <wang.yi59@zte.com.cn> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <1594631025-36219-1-git-send-email-wang.yi59@zte.com.cn> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'target/ppc')
-rw-r--r--target/ppc/misc_helper.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/target/ppc/misc_helper.c b/target/ppc/misc_helper.c
index 55b68d1..e43a3b4 100644
--- a/target/ppc/misc_helper.c
+++ b/target/ppc/misc_helper.c
@@ -234,25 +234,20 @@ target_ulong helper_clcs(CPUPPCState *env, uint32_t arg)
case 0x0CUL:
/* Instruction cache line size */
return env->icache_line_size;
- break;
case 0x0DUL:
/* Data cache line size */
return env->dcache_line_size;
- break;
case 0x0EUL:
/* Minimum cache line size */
return (env->icache_line_size < env->dcache_line_size) ?
env->icache_line_size : env->dcache_line_size;
- break;
case 0x0FUL:
/* Maximum cache line size */
return (env->icache_line_size > env->dcache_line_size) ?
env->icache_line_size : env->dcache_line_size;
- break;
default:
/* Undefined */
return 0;
- break;
}
}