Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bonzini committed Sep 26, 2023
1 parent 4995805 commit 1bce34a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions target/i386/tcg/sysemu/svm_helper.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 1bce34a

Please sign in to comment.