mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
target/i386/svm_helper: eliminate duplicate local variable
This shadows an outer "cs" variable that is initialized to the same expression. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
49958057a2
commit
1bce34aaa9
1 changed files with 0 additions and 2 deletions
|
@ -387,8 +387,6 @@ void helper_vmrun(CPUX86State *env, int aflag, int next_eip_addend)
|
||||||
env->hflags2 |= HF2_GIF_MASK;
|
env->hflags2 |= HF2_GIF_MASK;
|
||||||
|
|
||||||
if (ctl_has_irq(env)) {
|
if (ctl_has_irq(env)) {
|
||||||
CPUState *cs = env_cpu(env);
|
|
||||||
|
|
||||||
cs->interrupt_request |= CPU_INTERRUPT_VIRQ;
|
cs->interrupt_request |= CPU_INTERRUPT_VIRQ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue