mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23: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
|
@ -593,7 +593,6 @@ int xen_pt_msix_init(XenPCIPassthroughState *s, uint32_t base)
|
|||
return 0;
|
||||
|
||||
error_out:
|
||||
memory_region_destroy(&msix->mmio);
|
||||
g_free(s->msix);
|
||||
s->msix = NULL;
|
||||
return rc;
|
||||
|
@ -616,7 +615,6 @@ void xen_pt_msix_delete(XenPCIPassthroughState *s)
|
|||
}
|
||||
|
||||
memory_region_del_subregion(&s->bar[msix->bar_index], &msix->mmio);
|
||||
memory_region_destroy(&msix->mmio);
|
||||
|
||||
g_free(s->msix);
|
||||
s->msix = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue