[Qemu-devel] [PULL 04/49] uninorth: remove stray PCIBus realize from mac_newworld.c

David Gibson posted 49 patches 7 years, 6 months ago
[Qemu-devel] [PULL 04/49] uninorth: remove stray PCIBus realize from mac_newworld.c
Posted by David Gibson 7 years, 6 months ago
From: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>

After QOMification this is clearly no longer needed (and possibly hasn't been
for some time).

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
---
 hw/ppc/mac_newworld.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/ppc/mac_newworld.c b/hw/ppc/mac_newworld.c
index 39944203a4..4ff1c293a8 100644
--- a/hw/ppc/mac_newworld.c
+++ b/hw/ppc/mac_newworld.c
@@ -350,7 +350,6 @@ static void ppc_core99_init(MachineState *machine)
         pci_bus = pci_pmac_init(pic, get_system_memory(), get_system_io());
         machine_arch = ARCH_MAC99;
     }
-    object_property_set_bool(OBJECT(pci_bus), true, "realized", &error_abort);
 
     machine->usb |= defaults_enabled() && !machine->usb_disabled;
 
-- 
2.14.3