Commit 9a781977 authored by Marcelo Tosatti's avatar Marcelo Tosatti

KVM: x86: remove unused variable from kvm_task_switch()

Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
parent a81aba14
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment