From: Philippe Mathieu-Daudé Date: Wed, 18 Dec 2019 19:25:26 +0000 (+0100) Subject: hw/pci-host/designware: Remove unuseful FALLTHROUGH comment X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7ddd4ceaac2c11b3c76eef0bf69c6cb21f13e013;p=qemu.git 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é Reviewed-by: Aleksandar Markovic Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Message-Id: <20191218192526.13845-7-philmd@redhat.com> Signed-off-by: Paolo Bonzini --- diff --git a/hw/pci-host/designware.c b/hw/pci-host/designware.c index 71e9b0d9b5..dd245516dd 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;