aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kvm/svm/svm.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2022-01-28 00:52:03 +0000
committerPaolo Bonzini <[email protected]>2022-02-10 13:47:22 -0500
commit771eda3f9e4768ce3d61c630d71cff542dbe0065 (patch)
tree7e1d57a3019ce9047210ccad2286864d04286583 /arch/x86/kvm/svm/svm.c
parent4d9c83f5a06ac9693a2a20fd47e4ca05c4d8ab87 (diff)
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 <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'arch/x86/kvm/svm/svm.c')
-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)