aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm/svm.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-11-09 08:54:20 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2022-11-09 12:23:51 -0500
commit181d0fb0bb023e8996b1cf7970e3708d72442b0b (patch)
tree0918403f11808a89e2dc88185395cc30dee747c2 /arch/x86/kvm/svm/svm.h
parentKVM: SVM: remove unused field from struct vcpu_svm (diff)
downloadlinux-dev-181d0fb0bb023e8996b1cf7970e3708d72442b0b.tar.xz
linux-dev-181d0fb0bb023e8996b1cf7970e3708d72442b0b.zip
KVM: SVM: remove dead field from struct svm_cpu_data
The "cpu" field of struct svm_cpu_data has been write-only since commit 4b656b120249 ("KVM: SVM: force new asid on vcpu migration", 2009-08-05). Remove it. Reviewed-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to '')
-rw-r--r--arch/x86/kvm/svm/svm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kvm/svm/svm.h b/arch/x86/kvm/svm/svm.h
index 626240707ba9..7540db9902a6 100644
--- a/arch/x86/kvm/svm/svm.h
+++ b/arch/x86/kvm/svm/svm.h
@@ -280,8 +280,6 @@ struct vcpu_svm {
};
struct svm_cpu_data {
- int cpu;
-
u64 asid_generation;
u32 max_asid;
u32 next_asid;