mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
memory: remove memory_region_destroy
The function is empty after the previous patch, so remove it. Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
d8d9581460
commit
469b046ead
42 changed files with 0 additions and 193 deletions
|
@ -613,18 +613,6 @@ static int tpci200_initfn(PCIDevice *pci_dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void tpci200_exitfn(PCIDevice *pci_dev)
|
||||
{
|
||||
TPCI200State *s = TPCI200(pci_dev);
|
||||
|
||||
memory_region_destroy(&s->mmio);
|
||||
memory_region_destroy(&s->io);
|
||||
memory_region_destroy(&s->las0);
|
||||
memory_region_destroy(&s->las1);
|
||||
memory_region_destroy(&s->las2);
|
||||
memory_region_destroy(&s->las3);
|
||||
}
|
||||
|
||||
static const VMStateDescription vmstate_tpci200 = {
|
||||
.name = "tpci200",
|
||||
.version_id = 1,
|
||||
|
@ -645,7 +633,6 @@ static void tpci200_class_init(ObjectClass *klass, void *data)
|
|||
PCIDeviceClass *k = PCI_DEVICE_CLASS(klass);
|
||||
|
||||
k->init = tpci200_initfn;
|
||||
k->exit = tpci200_exitfn;
|
||||
k->vendor_id = PCI_VENDOR_ID_TEWS;
|
||||
k->device_id = PCI_DEVICE_ID_TEWS_TPCI200;
|
||||
k->class_id = PCI_CLASS_BRIDGE_OTHER;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue