KVM: x86: remove unused last_kernel_ns variable
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 29 Jan 2014 19:31:38 +0000 (17:31 -0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 4 Feb 2014 03:20:42 +0000 (04:20 +0100)
Remove unused last_kernel_ns variable.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c

index fdf83afbb7d9af3b5c1f55468fe1e1dcdf1af54b..0ffe7140d63024e2b45675cde3bb7b2286e6a815 100644 (file)
@@ -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;
index 39c28f09dfd5f03ca064be4bb5cfa01eb0d673a4..151e8c3b1f4a3f3e41053c2bea4f91093e7644c2 100644 (file)
@@ -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;
 
        /*