From d37e12a07c06b13610b7fabb6b8e009d7a759bc8 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Fri, 1 Mar 2013 16:57:41 +0000 Subject: 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 Reviewed-by: Andreas Färber Signed-off-by: Stefan Hajnoczi --- hw/piix_pci.c | 1 - 1 file changed, 1 deletion(-) (limited to 'hw/piix_pci.c') diff --git a/hw/piix_pci.c b/hw/piix_pci.c index 6c77e493e4..9246983c55 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; -- cgit v1.2.3-55-g7522