From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYZUF-0005SZ-SP for qemu-devel@nongnu.org; Wed, 24 Feb 2016 08:28:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYZUB-0005mz-Vi for qemu-devel@nongnu.org; Wed, 24 Feb 2016 08:28:15 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57454) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYZUB-0005mm-IF for qemu-devel@nongnu.org; Wed, 24 Feb 2016 08:28:11 -0500 From: Paolo Bonzini Date: Wed, 24 Feb 2016 14:27:39 +0100 Message-Id: <1456320461-26756-18-git-send-email-pbonzini@redhat.com> In-Reply-To: <1456320461-26756-1-git-send-email-pbonzini@redhat.com> References: <1456320461-26756-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PULL 17/19] memory: Remove unreachable return statement List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gonglei From: Gonglei 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(-) diff --git a/include/exec/memory.h b/include/exec/memory.h index 1cf2e51..4e5a145 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; } /** -- 2.5.0