pci: drop redundant PCIDeviceClass::is_bridge field
commitad4942746cb428f649f854e1d13622a745f603a5
authorIgor Mammedov <imammedo@redhat.com>
Tue, 29 Nov 2022 10:13:41 +0000 (29 11:13 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 21 Dec 2022 12:32:24 +0000 (21 07:32 -0500)
tree91c81e1c931d68186f6152c9782e445417286195
parentb1fbf24259188717e8b52eecaf8ca66da3e6ac58
pci: drop redundant PCIDeviceClass::is_bridge field

and use cast to TYPE_PCI_BRIDGE instead.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221129101341.185621-3-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
17 files changed:
hw/acpi/pcihp.c
hw/i386/acpi-build.c
hw/pci-bridge/cxl_downstream.c
hw/pci-bridge/cxl_upstream.c
hw/pci-bridge/i82801b11.c
hw/pci-bridge/pci_bridge_dev.c
hw/pci-bridge/pcie_pci_bridge.c
hw/pci-bridge/pcie_root_port.c
hw/pci-bridge/simba.c
hw/pci-bridge/xio3130_downstream.c
hw/pci-bridge/xio3130_upstream.c
hw/pci-host/designware.c
hw/pci-host/xilinx-pcie.c
hw/pci/pci.c
hw/ppc/spapr_pci.c
include/hw/pci/pci.h
include/hw/pci/pci_bridge.h