aboutsummaryrefslogtreecommitdiff
path: root/hw/pci-host/designware.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2019-12-18 20:25:26 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2020-01-24 20:59:08 +0100
commit7ddd4ceaac2c11b3c76eef0bf69c6cb21f13e013 (patch)
treec124ee20480563920bebfd6304cc1b0534e81173 /hw/pci-host/designware.c
parent7c45c1d3c0050ff0913b86aab97b2d9d1741e683 (diff)
downloadqemu-7ddd4ceaac2c11b3c76eef0bf69c6cb21f13e013.zip
qemu-7ddd4ceaac2c11b3c76eef0bf69c6cb21f13e013.tar.gz
qemu-7ddd4ceaac2c11b3c76eef0bf69c6cb21f13e013.tar.bz2
hw/pci-host/designware: Remove unuseful FALLTHROUGH comment
We don't need to explicit this obvious switch fall through. Stay consistent with the rest of the codebase. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20191218192526.13845-7-philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/pci-host/designware.c')
-rw-r--r--hw/pci-host/designware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-host/designware.c b/hw/pci-host/designware.c
index 71e9b0d..dd24551 100644
--- a/hw/pci-host/designware.c
+++ b/hw/pci-host/designware.c
@@ -182,7 +182,7 @@ designware_pcie_root_config_read(PCIDevice *d, uint32_t address, int len)
break;
case DESIGNWARE_PCIE_ATU_CR1:
- case DESIGNWARE_PCIE_ATU_CR2: /* FALLTHROUGH */
+ case DESIGNWARE_PCIE_ATU_CR2:
val = viewport->cr[(address - DESIGNWARE_PCIE_ATU_CR1) /
sizeof(uint32_t)];
break;