mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53: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
|
@ -1256,13 +1256,6 @@ static int usb_uhci_vt82c686b_initfn(PCIDevice *dev)
|
|||
return usb_uhci_common_initfn(dev);
|
||||
}
|
||||
|
||||
static void usb_uhci_exit(PCIDevice *dev)
|
||||
{
|
||||
UHCIState *s = DO_UPCAST(UHCIState, dev, dev);
|
||||
|
||||
memory_region_destroy(&s->io_bar);
|
||||
}
|
||||
|
||||
static Property uhci_properties[] = {
|
||||
DEFINE_PROP_STRING("masterbus", UHCIState, masterbus),
|
||||
DEFINE_PROP_UINT32("firstport", UHCIState, firstport, 0),
|
||||
|
@ -1279,7 +1272,6 @@ static void uhci_class_init(ObjectClass *klass, void *data)
|
|||
UHCIInfo *info = data;
|
||||
|
||||
k->init = info->initfn ? info->initfn : usb_uhci_common_initfn;
|
||||
k->exit = info->unplug ? usb_uhci_exit : NULL;
|
||||
k->vendor_id = info->vendor_id;
|
||||
k->device_id = info->device_id;
|
||||
k->revision = info->revision;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue