summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2016-03-25 18:10:28 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2016-05-23 16:53:44 +0200
commitb61359781958759317ee6fd1a45b59be0b7dbbe1 (patch)
tree312778a452b2f2004e4237e36c39b2e4e7a2eef7 /include
parentab0a99560857302b60053c245d1231acbd976cd4 (diff)
downloadqemu-b61359781958759317ee6fd1a45b59be0b7dbbe1.tar.gz
qemu-b61359781958759317ee6fd1a45b59be0b7dbbe1.tar.bz2
qemu-b61359781958759317ee6fd1a45b59be0b7dbbe1.zip
memory: Remove code for mr->may_overlap
The collision check does nothing and hasn't been used. Remove the variable together with related code. Signed-off-by: Fam Zheng <famz@redhat.com> Message-Id: <1458900629-2334-2-git-send-email-famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/exec/memory.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/exec/memory.h b/include/exec/memory.h
index 7fb9188c0a..f649697ee9 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -187,7 +187,6 @@ struct MemoryRegion {
MemoryRegion *alias;
hwaddr alias_offset;
int32_t priority;
- bool may_overlap;
QTAILQ_HEAD(subregions, MemoryRegion) subregions;
QTAILQ_ENTRY(MemoryRegion) subregions_link;
QTAILQ_HEAD(coalesced_ranges, CoalescedMemoryRange) coalesced;