From bc7c9eccfeb620b0e87b2d0d079d9434c6bef03d Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 20 Dec 2011 14:10:36 +0100 Subject: i440fx: remove piix3 field Signed-off-by: Paolo Bonzini Signed-off-by: Anthony Liguori --- hw/piix_pci.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'hw') diff --git a/hw/piix_pci.c b/hw/piix_pci.c index 43c85aa3d8..e188c7a1a5 100644 --- a/hw/piix_pci.c +++ b/hw/piix_pci.c @@ -81,7 +81,6 @@ struct PCII440FXState { PAMMemoryRegion pam_regions[13]; MemoryRegion smram_region; uint8_t smm_enabled; - PIIX3State *piix3; }; @@ -320,8 +319,6 @@ static PCIBus *i440fx_common_init(const char *device_name, qdev_property_add_child(dev, "piix3", &piix3->dev.qdev, NULL); piix3->pic = pic; - (*pi440fx_state)->piix3 = piix3; - *piix3_devfn = piix3->dev.devfn; ram_size = ram_size / 8 / 1024 / 1024; -- cgit v1.2.3