summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-01-28 03:52:03 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2022-02-10 21:47:22 +0300
commit771eda3f9e4768ce3d61c630d71cff542dbe0065 (patch)
tree7e1d57a3019ce9047210ccad2286864d04286583 /arch/x86
parent4d9c83f5a06ac9693a2a20fd47e4ca05c4d8ab87 (diff)
downloadlinux-771eda3f9e4768ce3d61c630d71cff542dbe0065.tar.xz
KVM: SVM: Remove unused MAX_INST_SIZE #define
Remove SVM's MAX_INST_SIZE, which has long since been obsoleted by the common MAX_INSN_SIZE. Note, the latter's "insn" is also the generally preferred abbreviation of instruction. No functional change intended. Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20220128005208.4008533-18-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kvm/svm/svm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kvm/svm/svm.c b/arch/x86/kvm/svm/svm.c
index 11684ddd50e3..141d42296143 100644
--- a/arch/x86/kvm/svm/svm.c
+++ b/arch/x86/kvm/svm/svm.c
@@ -263,8 +263,6 @@ u32 svm_msrpm_offset(u32 msr)
return MSR_INVALID;
}
-#define MAX_INST_SIZE 15
-
static void svm_flush_tlb_current(struct kvm_vcpu *vcpu);
static int get_npt_level(void)