cleanup unused code

This commit is contained in:
Nguyen Anh Quynh
2016-11-19 23:48:23 +08:00
parent 33813a0781
commit e1b65a6edb
2 changed files with 0 additions and 12 deletions

View File

@ -566,7 +566,6 @@ void helper_monitor(CPUX86State *env, target_ulong ptr)
void helper_mwait(CPUX86State *env, int next_eip_addend)
{
CPUState *cs;
X86CPU *cpu;
if ((uint32_t)env->regs[R_ECX] != 0) {
@ -576,7 +575,6 @@ void helper_mwait(CPUX86State *env, int next_eip_addend)
env->eip += next_eip_addend;
cpu = x86_env_get_cpu(env);
cs = CPU(cpu);
/* XXX: not complete but not completely erroneous */
do_hlt(cpu);
}