diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2012-08-30 22:45:54 +0200 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2012-08-30 22:45:54 +0200 |
commit | 9a7819774e4236e8736a074b7e85276967911924 (patch) | |
tree | 36dfbe62d6a166fd01e77b48b9df144db2a5788f /arch/x86 | |
parent | KVM: VMX: Ignore segment G and D bits when considering whether we can virtualize (diff) | |
download | linux-9a7819774e4236e8736a074b7e85276967911924.tar.xz linux-9a7819774e4236e8736a074b7e85276967911924.zip |
KVM: x86: remove unused variable from kvm_task_switch()
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kvm/x86.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index e00050ce7a6a..20f2266dfb64 100644 --- a/arch/x86/kvm/x86.c +++ b/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); |