Message ID | 20181018200422.4358-16-ehabkost@redhat.com |
---|---|
State | New |
Headers | show |
Series | [PULL,01/45] hostmem-file: fixed the memory leak while get pmem path. | expand |
On Thu, Oct 18, 2018 at 05:03:52PM -0300, Eduardo Habkost wrote: > From: Philippe Mathieu-Daudé <f4bug@amsat.org> > > Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > Reviewed-by: Thomas Huth <thuth@redhat.com> > Message-Id: <20181002212522.23303-12-f4bug@amsat.org> > Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> > --- > hw/hppa/dino.c | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/hw/hppa/dino.c b/hw/hppa/dino.c > index 564b938e3a..31e09942b5 100644 > --- a/hw/hppa/dino.c > +++ b/hw/hppa/dino.c > @@ -488,17 +488,10 @@ PCIBus *dino_init(MemoryRegion *addr_space, > return b; > } > > -static int dino_pcihost_init(SysBusDevice *dev) > -{ > - return 0; > -} > - > static void dino_pcihost_class_init(ObjectClass *klass, void *data) > { > - SysBusDeviceClass *k = SYS_BUS_DEVICE_CLASS(klass); > DeviceClass *dc = DEVICE_CLASS(klass); > > - k->init = dino_pcihost_init; > dc->vmsd = &vmstate_dino; > } >
diff --git a/hw/hppa/dino.c b/hw/hppa/dino.c index 564b938e3a..31e09942b5 100644 --- a/hw/hppa/dino.c +++ b/hw/hppa/dino.c @@ -488,17 +488,10 @@ PCIBus *dino_init(MemoryRegion *addr_space, return b; } -static int dino_pcihost_init(SysBusDevice *dev) -{ - return 0; -} - static void dino_pcihost_class_init(ObjectClass *klass, void *data) { - SysBusDeviceClass *k = SYS_BUS_DEVICE_CLASS(klass); DeviceClass *dc = DEVICE_CLASS(klass); - k->init = dino_pcihost_init; dc->vmsd = &vmstate_dino; }