summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2014-01-29 17:31:38 -0200
committerPaolo Bonzini <pbonzini@redhat.com>2014-02-04 04:20:42 +0100
commit4f34d683e52271197e1ee17b7095e8ba27761ba6 (patch)
tree869ceb09bab6074c81396b829f71e8b552f659f6 /arch/x86/kvm
parent38dbfb59d1175ef458d006556061adeaa8751b72 (diff)
downloadop-kernel-dev-4f34d683e52271197e1ee17b7095e8ba27761ba6.zip
op-kernel-dev-4f34d683e52271197e1ee17b7095e8ba27761ba6.tar.gz
KVM: x86: remove unused last_kernel_ns variable
Remove unused last_kernel_ns variable. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r--arch/x86/kvm/x86.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 39c28f09..151e8c3 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -1581,7 +1581,6 @@ static int kvm_guest_time_update(struct kvm_vcpu *v)
/* With all the info we got, fill in the values */
vcpu->hv_clock.tsc_timestamp = tsc_timestamp;
vcpu->hv_clock.system_time = kernel_ns + v->kvm->arch.kvmclock_offset;
- vcpu->last_kernel_ns = kernel_ns;
vcpu->last_guest_tsc = tsc_timestamp;
/*
OpenPOWER on IntegriCloud