From 91dbed4ba1d9e14d40ed6b1bc5906b8c26bff255 Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Sun, 28 Mar 2010 18:47:25 +0200 Subject: [PATCH] exec: remove dead code Signed-off-by: Aurelien Jarno --- exec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/exec.c b/exec.c index 5dc98bdeef..091620894c 100644 --- a/exec.c +++ b/exec.c @@ -1179,7 +1179,6 @@ static inline void tb_alloc_page(TranslationBlock *tb, continue; prot |= p2->flags; p2->flags &= ~PAGE_WRITE; - page_get_flags(addr); } mprotect(g2h(page_addr), qemu_host_page_size, (prot & PAGE_BITS) & ~PAGE_WRITE);