Received: from eggs.gnu.org ([2001:4830:134:3::10]:45189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZCqR-0006Xy-El for qemu-devel@nongnu.org; Sat, 21 Mar 2015 02:25:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZCqO-0002Hg-8o for qemu-devel@nongnu.org; Sat, 21 Mar 2015 02:25:15 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:41261) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZCqO-0002Gt-0R for qemu-devel@nongnu.org; Sat, 21 Mar 2015 02:25:12 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id C650E20533 for ; Sat, 21 Mar 2015 02:25:07 -0400 (EDT) From: "Emilio G. Cota" Date: Sat, 21 Mar 2015 02:25:12 -0400 Message-Id: <1426919112-20726-1-git-send-email-cota@braap.org> Subject: [Qemu-devel] [PATCH] translate-all: remove superfluous #ifdef FOO || 1 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org It always evaluates to true. Signed-off-by: Emilio G. Cota --- translate-all.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/translate-all.c b/translate-all.c index 9f47ce7..11763c6 100644 --- a/translate-all.c +++ b/translate-all.c @@ -1334,8 +1334,6 @@ static inline void tb_alloc_page(TranslationBlock *tb, p->first_tb = (TranslationBlock *)((uintptr_t)tb | n); invalidate_page_bitmap(p); -#if defined(TARGET_HAS_SMC) || 1 - #if defined(CONFIG_USER_ONLY) if (p->flags & PAGE_WRITE) { target_ulong addr; @@ -1371,8 +1369,6 @@ static inline void tb_alloc_page(TranslationBlock *tb, tlb_protect_code(page_addr); } #endif - -#endif /* TARGET_HAS_SMC */ } /* add a new TB and link it to the physical page tables. phys_page2 is -- 1.9.1