diff options
author | Liao Pingfang | 2020-07-13 11:05:26 +0200 |
---|---|---|
committer | Laurent Vivier | 2020-09-01 08:38:00 +0200 |
commit | 830b92509459180eaab986bb37173fd07ba6db53 (patch) | |
tree | 6fac391d59e1c1dc56e895bf0171693ce6631e07 /hw/intc/armv7m_nvic.c | |
parent | block/vmdk: Remove superfluous breaks (diff) | |
download | qemu-830b92509459180eaab986bb37173fd07ba6db53.tar.gz qemu-830b92509459180eaab986bb37173fd07ba6db53.tar.xz qemu-830b92509459180eaab986bb37173fd07ba6db53.zip |
hw: 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: <1594631126-36631-1-git-send-email-wang.yi59@zte.com.cn>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/intc/armv7m_nvic.c')
-rw-r--r-- | hw/intc/armv7m_nvic.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/intc/armv7m_nvic.c b/hw/intc/armv7m_nvic.c index 277a98b87b..7876c1ba07 100644 --- a/hw/intc/armv7m_nvic.c +++ b/hw/intc/armv7m_nvic.c @@ -1290,7 +1290,6 @@ static uint32_t nvic_readl(NVICState *s, uint32_t offset, MemTxAttrs attrs) case 0xd90: /* MPU_TYPE */ /* Unified MPU; if the MPU is not present this value is zero */ return cpu->pmsav7_dregion << 8; - break; case 0xd94: /* MPU_CTRL */ return cpu->env.v7m.mpu_ctrl[attrs.secure]; case 0xd98: /* MPU_RNR */ |