Skip to contentSkip to conversation

i440fx: remove piix3 field

PATCH Applied Paolo Bonzini 2 participants 2 messages Dec 20, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i440fx: remove piix3 field

---
 hw/piix_pci.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
hw/piix_pci.c +0 -3
index 43c85aa..e188c7a 100644
@@ -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;
Signature · 1 line
1.7.7.1
#1 lore raw
Quoted 1 line · Paolo Bonzini

Applied. Thanks.

Regards,

Anthony Liguori

Quoted 25 lines
---
  hw/piix_pci.c |    3 ---
  1 files changed, 0 insertions(+), 3 deletions(-)
hw/piix_pci.c +0 -3
index 43c85aa..e188c7a 100644
@@ -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;