aboutsummaryrefslogtreecommitdiff
path: root/memory.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2017-11-06 19:55:06 +0100
committerMichael Tokarev <mjt@tls.msk.ru>2017-12-18 17:07:02 +0300
commite2fbe20851ceec5ccd7b539a89db0420393fb85d (patch)
tree081c282ab1e048eaa02ef72a2adbbfaa2d28e266 /memory.c
parent67eb7f4884f7fbb513ae02ced6e4ac7157b9d33f (diff)
downloadqemu-e2fbe20851ceec5ccd7b539a89db0420393fb85d.zip
qemu-e2fbe20851ceec5ccd7b539a89db0420393fb85d.tar.gz
qemu-e2fbe20851ceec5ccd7b539a89db0420393fb85d.tar.bz2
memory: remove unused memory_region_set_global_locking()
This was never used since its introduction in commit 196ea13104f8 ("memory: Add global-locking property to memory regions"). Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'memory.c')
-rw-r--r--memory.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/memory.c b/memory.c
index e26e5a3..4b41fb8 100644
--- a/memory.c
+++ b/memory.c
@@ -2189,11 +2189,6 @@ void memory_region_clear_flush_coalesced(MemoryRegion *mr)
}
}
-void memory_region_set_global_locking(MemoryRegion *mr)
-{
- mr->global_locking = true;
-}
-
void memory_region_clear_global_locking(MemoryRegion *mr)
{
mr->global_locking = false;