projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3655cb9
)
memory: Remove unreachable return statement
author
Gonglei
<arei.gonglei@huawei.com>
Sat, 20 Feb 2016 02:35:21 +0000
(10:35 +0800)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 25 Feb 2016 15:11:29 +0000
(16:11 +0100)
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>
include/exec/memory.h
patch
|
blob
|
history
diff --git
a/include/exec/memory.h
b/include/exec/memory.h
index 34f21f1aed4e7e9c022068f00a541484c2752947..032400aefabe54ffa1fea2d1c6c68ebfb0fc8fdb 100644
(file)
--- 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;
}
/**