]> git.proxmox.com Git - mirror_qemu.git/blobdiff - exec.c
hw/rdma: Reorder resource cleanup
[mirror_qemu.git] / exec.c
diff --git a/exec.c b/exec.c
index 4f5df07b6a26a8aea869c6baac820a0097c79d51..e7be0761c28a3b9574711007aedf573de11b253e 100644 (file)
--- a/exec.c
+++ b/exec.c
@@ -402,12 +402,6 @@ static MemoryRegionSection *phys_page_find(AddressSpaceDispatch *d, hwaddr addr)
     }
 }
 
-bool memory_region_is_unassigned(MemoryRegion *mr)
-{
-    return mr != &io_mem_rom && mr != &io_mem_notdirty && !mr->rom_device
-        && mr != &io_mem_watch;
-}
-
 /* Called from RCU critical section */
 static MemoryRegionSection *address_space_lookup_region(AddressSpaceDispatch *d,
                                                         hwaddr addr,