diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2023-09-25 12:20:06 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-09-26 16:41:49 +0200 |
commit | 1bce34aaa9d324b6d4aaf681e634e1840ca5d04e (patch) | |
tree | 74f6b84fc7430c1893aebd72d0916433857de08d /target/i386 | |
parent | 49958057a2ff7503357ce624da0cd3a94ab554bf (diff) |
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>
Diffstat (limited to 'target/i386')
-rw-r--r-- | target/i386/tcg/sysemu/svm_helper.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target/i386/tcg/sysemu/svm_helper.c b/target/i386/tcg/sysemu/svm_helper.c index 2d27731b60..32ff0dbb13 100644 --- a/target/i386/tcg/sysemu/svm_helper.c +++ b/target/i386/tcg/sysemu/svm_helper.c @@ -387,8 +387,6 @@ void helper_vmrun(CPUX86State *env, int aflag, int next_eip_addend) env->hflags2 |= HF2_GIF_MASK; if (ctl_has_irq(env)) { - CPUState *cs = env_cpu(env); - cs->interrupt_request |= CPU_INTERRUPT_VIRQ; } |