summary refs log tree commit diff stats
path: root/hw/sd/sdmmc-internal.h
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.caveayland@nutanix.com>2025-09-01 21:31:58 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-09-02 17:58:05 +0200
commite502e614f4c3e5ee7b12cf1c926d9581262fd626 (patch)
tree72846208ab54e2f18510c72011e683fd3de9e66d /hw/sd/sdmmc-internal.h
parent7e52554c293184083f571265daacfc9aa57c3d55 (diff)
downloadfocaccia-qemu-e502e614f4c3e5ee7b12cf1c926d9581262fd626.tar.gz
focaccia-qemu-e502e614f4c3e5ee7b12cf1c926d9581262fd626.zip
hw/i386/pc_piix.c: remove unnecessary if() from pc_init1()
Now that the isapc logic has been split out of pc_piix.c, the PCI Host Bridge
(phb) object is now always set in pc_init1().

Since phb is now guaranteed not to be NULL, Coverity reports that the if()
statement surrounding ioapic_init_gsi() is now unnecessary and can be removed
along with the phb NULL initialiser.

Coverity: CID 1620557
Signed-off-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Fixes: 99d0630a45 ("hw/i386/pc_piix.c: assume pcmc->pci_enabled is always true in pc_init1()")
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250901203409.1196620-1-mark.caveayland@nutanix.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/sd/sdmmc-internal.h')
0 files changed, 0 insertions, 0 deletions