]> Git Repo - linux.git/commitdiff
KVM: x86: remove unused last_kernel_ns variable
authorMarcelo Tosatti <[email protected]>
Wed, 29 Jan 2014 19:31:38 +0000 (17:31 -0200)
committerPaolo Bonzini <[email protected]>
Tue, 4 Feb 2014 03:20:42 +0000 (04:20 +0100)
Remove unused last_kernel_ns variable.

Signed-off-by: Marcelo Tosatti <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
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;
 
        /*
This page took 0.080136 seconds and 4 git commands to generate.