summaryrefslogtreecommitdiffstats
path: root/hw/ppc/prep.c
diff options
context:
space:
mode:
authorPeter Maydell2013-03-01 17:57:41 +0100
committerStefan Hajnoczi2013-03-08 13:15:27 +0100
commitd37e12a07c06b13610b7fabb6b8e009d7a759bc8 (patch)
treee09b52e010d46dba19ed5046adba27507db985fb /hw/ppc/prep.c
parentrng-random: Use qemu_open / qemu_close (diff)
downloadqemu-d37e12a07c06b13610b7fabb6b8e009d7a759bc8.tar.gz
qemu-d37e12a07c06b13610b7fabb6b8e009d7a759bc8.tar.xz
qemu-d37e12a07c06b13610b7fabb6b8e009d7a759bc8.zip
pci_host: Drop write-only address_space field
The address_space field of PCIHostState was only ever written, never used. Drop it completely. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/ppc/prep.c')
-rw-r--r--hw/ppc/prep.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/ppc/prep.c b/hw/ppc/prep.c
index e06dded003..292091180d 100644
--- a/hw/ppc/prep.c
+++ b/hw/ppc/prep.c
@@ -567,7 +567,6 @@ static void ppc_prep_init(QEMUMachineInitArgs *args)
dev = qdev_create(NULL, "raven-pcihost");
pcihost = PCI_HOST_BRIDGE(dev);
- pcihost->address_space = get_system_memory();
object_property_add_child(qdev_get_machine(), "raven", OBJECT(dev), NULL);
qdev_init_nofail(dev);
pci_bus = (PCIBus *)qdev_get_child_bus(dev, "pci.0");