summaryrefslogtreecommitdiffstats
path: root/hw/i386
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/i386
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/i386')
-rw-r--r--hw/i386/intel_iommu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/i386/intel_iommu.c b/hw/i386/intel_iommu.c
index 5284bb68b6..0d7c4303b4 100644
--- a/hw/i386/intel_iommu.c
+++ b/hw/i386/intel_iommu.c
@@ -3168,7 +3168,6 @@ static int vtd_irte_get(IntelIOMMUState *iommu, uint16_t index,
index, entry->irte.sid_vtype);
/* Take this as verification failure. */
return -VTD_FR_IR_SID_ERR;
- break;
}
}