summaryrefslogtreecommitdiff
path: root/include/exec/memory.h
diff options
context:
space:
mode:
authorGonglei <arei.gonglei@huawei.com>2016-02-20 10:35:21 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2016-02-25 16:11:29 +0100
commitd61524486c6e503e502241a2ea834f930f98a6a1 (patch)
tree840e7dfda4b3752d867474b790bde71ba72d8a01 /include/exec/memory.h
parent3655cb9c7375a595a8051ec677c515b24d5c1fe6 (diff)
downloadqemu-d61524486c6e503e502241a2ea834f930f98a6a1.zip
memory: Remove unreachable return statement
Signed-off-by: Gonglei <arei.gonglei@huawei.com> Message-Id: <1455935721-8804-4-git-send-email-arei.gonglei@huawei.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec/memory.h')
-rw-r--r--include/exec/memory.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/exec/memory.h b/include/exec/memory.h
index 34f21f1aed..032400aefa 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -1400,8 +1400,6 @@ static inline bool memory_access_is_direct(MemoryRegion *mr, bool is_write)
} else {
return memory_region_is_ram(mr) || memory_region_is_romd(mr);
}
-
- return false;
}
/**