KVM: x86: remove unused variable from kvm_task_switch()
authorMarcelo Tosatti <mtosatti@redhat.com>
Thu, 30 Aug 2012 20:45:54 +0000 (17:45 -0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 30 Aug 2012 20:45:54 +0000 (17:45 -0300)
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c

index e00050c..20f2266 100644 (file)
@@ -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);