i440fx: remove piix3 field
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
1de81d2832
commit
bc7c9eccfe
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user