aboutsummaryrefslogtreecommitdiff
path: root/hw/piix_pci.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2013-03-01 16:57:41 +0000
committerStefan Hajnoczi <stefanha@redhat.com>2013-03-08 13:15:27 +0100
commitd37e12a07c06b13610b7fabb6b8e009d7a759bc8 (patch)
treee09b52e010d46dba19ed5046adba27507db985fb /hw/piix_pci.c
parent7f9c9d12856e65e272297a619705864d9e6346f8 (diff)
downloadqemu-d37e12a07c06b13610b7fabb6b8e009d7a759bc8.zip
qemu-d37e12a07c06b13610b7fabb6b8e009d7a759bc8.tar.gz
qemu-d37e12a07c06b13610b7fabb6b8e009d7a759bc8.tar.bz2
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/piix_pci.c')
-rw-r--r--hw/piix_pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/piix_pci.c b/hw/piix_pci.c
index 6c77e49..9246983 100644
--- a/hw/piix_pci.c
+++ b/hw/piix_pci.c
@@ -244,7 +244,6 @@ static PCIBus *i440fx_common_init(const char *device_name,
dev = qdev_create(NULL, "i440FX-pcihost");
s = PCI_HOST_BRIDGE(dev);
- s->address_space = address_space_mem;
b = pci_bus_new(dev, NULL, pci_address_space,
address_space_io, 0);
s->bus = b;