diff options
author | Gonglei <arei.gonglei@huawei.com> | 2016-02-20 10:35:21 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-02-25 16:11:29 +0100 |
commit | d61524486c6e503e502241a2ea834f930f98a6a1 (patch) | |
tree | 840e7dfda4b3752d867474b790bde71ba72d8a01 | |
parent | 3655cb9c7375a595a8051ec677c515b24d5c1fe6 (diff) |
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>
-rw-r--r-- | include/exec/memory.h | 2 |
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; } /** |