Messages in this thread Patch in this message | | | Date | Fri, 28 Jan 2022 00:52:03 +0000 | Subject | [PATCH 17/22] KVM: SVM: Remove unused MAX_INST_SIZE #define | From | Sean Christopherson <> |
| |
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> --- arch/x86/kvm/svm/svm.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/arch/x86/kvm/svm/svm.c b/arch/x86/kvm/svm/svm.c index 5382710ba106..87e136b81991 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) -- 2.35.0.rc0.227.g00780c9af4-goog
| |