From d61524486c6e503e502241a2ea834f930f98a6a1 Mon Sep 17 00:00:00 2001 From: Gonglei Date: Sat, 20 Feb 2016 10:35:21 +0800 Subject: memory: Remove unreachable return statement Signed-off-by: Gonglei Message-Id: <1455935721-8804-4-git-send-email-arei.gonglei@huawei.com> Signed-off-by: Paolo Bonzini --- include/exec/memory.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/exec') diff --git a/include/exec/memory.h b/include/exec/memory.h index 34f21f1..032400a 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; } /** -- cgit v1.1