summaryrefslogtreecommitdiffstats
path: root/hw/block/pflash_cfi01.c
diff options
context:
space:
mode:
authorLiao Pingfang2020-07-13 11:05:26 +0200
committerLaurent Vivier2020-09-01 08:38:00 +0200
commit830b92509459180eaab986bb37173fd07ba6db53 (patch)
tree6fac391d59e1c1dc56e895bf0171693ce6631e07 /hw/block/pflash_cfi01.c
parentblock/vmdk: Remove superfluous breaks (diff)
downloadqemu-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/block/pflash_cfi01.c')
-rw-r--r--hw/block/pflash_cfi01.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/block/pflash_cfi01.c b/hw/block/pflash_cfi01.c
index 8ab1d66310..f0fcd63f84 100644
--- a/hw/block/pflash_cfi01.c
+++ b/hw/block/pflash_cfi01.c
@@ -213,7 +213,6 @@ static uint32_t pflash_devid_query(PFlashCFI01 *pfl, hwaddr offset)
default:
trace_pflash_device_info(offset);
return 0;
- break;
}
/* Replicate responses for each device in bank. */
if (pfl->device_width < pfl->bank_width) {