diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2014-01-29 23:31:38 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-02-04 07:20:42 +0400 |
commit | 4f34d683e52271197e1ee17b7095e8ba27761ba6 (patch) | |
tree | 869ceb09bab6074c81396b829f71e8b552f659f6 /arch | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) | |
download | linux-4f34d683e52271197e1ee17b7095e8ba27761ba6.tar.xz |
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')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 1 | ||||
-rw-r--r-- | arch/x86/kvm/x86.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index fdf83afbb7d9..0ffe7140d630 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -444,7 +444,6 @@ struct kvm_vcpu_arch { } st; u64 last_guest_tsc; - u64 last_kernel_ns; u64 last_host_tsc; u64 tsc_offset_adjustment; u64 this_tsc_nsec; diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 39c28f09dfd5..151e8c3b1f4a 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; /* |