exec: remove dead code

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
Aurelien Jarno 2010-03-28 18:47:25 +02:00
parent 7983f435e5
commit 91dbed4ba1
1 changed files with 0 additions and 1 deletions

1
exec.c
View File

@ -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);