aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2010-03-28 18:47:25 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-03-28 18:47:25 +0200
commit91dbed4ba1d9e14d40ed6b1bc5906b8c26bff255 (patch)
tree22f4585e74c0ac249ba6b07cce7d41bdd3c24b96
parent7983f435e5306a4b17e1edcb408ba64b33e9c88f (diff)
downloadqemu-91dbed4ba1d9e14d40ed6b1bc5906b8c26bff255.zip
qemu-91dbed4ba1d9e14d40ed6b1bc5906b8c26bff255.tar.gz
qemu-91dbed4ba1d9e14d40ed6b1bc5906b8c26bff255.tar.bz2
exec: remove dead code
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rw-r--r--exec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index 5dc98bd..0916208 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);