aboutsummaryrefslogtreecommitdiff
path: root/hw/piix_pci.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-12-20 14:10:36 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2011-12-20 08:12:25 -0600
commitbc7c9eccfeb620b0e87b2d0d079d9434c6bef03d (patch)
tree55f7176f41c260abacbe3dfb265da1ff93517be0 /hw/piix_pci.c
parent1de81d2832e210dda43a101e4163a17bc4d9c71d (diff)
downloadqemu-bc7c9eccfeb620b0e87b2d0d079d9434c6bef03d.zip
qemu-bc7c9eccfeb620b0e87b2d0d079d9434c6bef03d.tar.gz
qemu-bc7c9eccfeb620b0e87b2d0d079d9434c6bef03d.tar.bz2
i440fx: remove piix3 field
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/piix_pci.c')
-rw-r--r--hw/piix_pci.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/piix_pci.c b/hw/piix_pci.c
index 43c85aa..e188c7a 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;