mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34: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
|
@ -1388,14 +1388,6 @@ static int ac97_initfn (PCIDevice *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void ac97_exitfn (PCIDevice *dev)
|
||||
{
|
||||
AC97LinkState *s = DO_UPCAST (AC97LinkState, dev, dev);
|
||||
|
||||
memory_region_destroy (&s->io_nam);
|
||||
memory_region_destroy (&s->io_nabm);
|
||||
}
|
||||
|
||||
static int ac97_init (PCIBus *bus)
|
||||
{
|
||||
pci_create_simple (bus, -1, "AC97");
|
||||
|
@ -1413,7 +1405,6 @@ static void ac97_class_init (ObjectClass *klass, void *data)
|
|||
PCIDeviceClass *k = PCI_DEVICE_CLASS (klass);
|
||||
|
||||
k->init = ac97_initfn;
|
||||
k->exit = ac97_exitfn;
|
||||
k->vendor_id = PCI_VENDOR_ID_INTEL;
|
||||
k->device_id = PCI_DEVICE_ID_INTEL_82801AA_5;
|
||||
k->revision = 0x01;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue