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 e00050ce7a6aed214b2e49cc363e2619040d1d62..20f2266dfb6435a6d89ebeaa2426c36161d15b47 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);