mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -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
|
@ -1042,13 +1042,6 @@ static int es1370_initfn (PCIDevice *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void es1370_exitfn (PCIDevice *dev)
|
||||
{
|
||||
ES1370State *s = DO_UPCAST (ES1370State, dev, dev);
|
||||
|
||||
memory_region_destroy (&s->io);
|
||||
}
|
||||
|
||||
static int es1370_init (PCIBus *bus)
|
||||
{
|
||||
pci_create_simple (bus, -1, "ES1370");
|
||||
|
@ -1061,7 +1054,6 @@ static void es1370_class_init (ObjectClass *klass, void *data)
|
|||
PCIDeviceClass *k = PCI_DEVICE_CLASS (klass);
|
||||
|
||||
k->init = es1370_initfn;
|
||||
k->exit = es1370_exitfn;
|
||||
k->vendor_id = PCI_VENDOR_ID_ENSONIQ;
|
||||
k->device_id = PCI_DEVICE_ID_ENSONIQ_ES1370;
|
||||
k->class_id = PCI_CLASS_MULTIMEDIA_AUDIO;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue