Browse Source

KVM: x86: remove unused variable from kvm_task_switch()

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Marcelo Tosatti 13 years ago
parent
commit
9a7819774e
1 changed files with 0 additions and 1 deletions
  1. 0 1
      arch/x86/kvm/x86.c

+ 0 - 1
arch/x86/kvm/x86.c

@@ -5714,7 +5714,6 @@ int kvm_task_switch(struct kvm_vcpu *vcpu, u16 tss_selector, int idt_index,
 {
 	struct x86_emulate_ctxt *ctxt = &vcpu->arch.emulate_ctxt;
 	int ret;
-	unsigned reg;
 
 	init_emulate_ctxt(vcpu);