Message ID | 20210114003708.3798992-14-seanjc@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | KVM: SVM: Misc SEV cleanups | expand |
On 1/13/21 6:37 PM, Sean Christopherson wrote: > Remove the forward declaration of sev_flush_asids(), which is only a few > lines above the function itself. > > No functional change intended. > > Signed-off-by: Sean Christopherson <seanjc@google.com> > --- > arch/x86/kvm/svm/sev.c | 1 - > 1 file changed, 1 deletion(-) Thanks Reviewed-by: Brijesh Singh <brijesh.singh@amd.com> > diff --git a/arch/x86/kvm/svm/sev.c b/arch/x86/kvm/svm/sev.c > index 7e14514dd083..23a4bead4a82 100644 > --- a/arch/x86/kvm/svm/sev.c > +++ b/arch/x86/kvm/svm/sev.c > @@ -41,7 +41,6 @@ module_param_named(sev_es, sev_es_enabled, bool, 0444); > #endif /* CONFIG_KVM_AMD_SEV */ > > static u8 sev_enc_bit; > -static int sev_flush_asids(void); > static DECLARE_RWSEM(sev_deactivate_lock); > static DEFINE_MUTEX(sev_bitmap_lock); > unsigned int max_sev_asid;
On 1/13/21 6:37 PM, Sean Christopherson wrote: > Remove the forward declaration of sev_flush_asids(), which is only a few > lines above the function itself. > > No functional change intended. > > Signed-off-by: Sean Christopherson <seanjc@google.com> Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com> > --- > arch/x86/kvm/svm/sev.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/x86/kvm/svm/sev.c b/arch/x86/kvm/svm/sev.c > index 7e14514dd083..23a4bead4a82 100644 > --- a/arch/x86/kvm/svm/sev.c > +++ b/arch/x86/kvm/svm/sev.c > @@ -41,7 +41,6 @@ module_param_named(sev_es, sev_es_enabled, bool, 0444); > #endif /* CONFIG_KVM_AMD_SEV */ > > static u8 sev_enc_bit; > -static int sev_flush_asids(void); > static DECLARE_RWSEM(sev_deactivate_lock); > static DEFINE_MUTEX(sev_bitmap_lock); > unsigned int max_sev_asid; >
diff --git a/arch/x86/kvm/svm/sev.c b/arch/x86/kvm/svm/sev.c index 7e14514dd083..23a4bead4a82 100644 --- a/arch/x86/kvm/svm/sev.c +++ b/arch/x86/kvm/svm/sev.c @@ -41,7 +41,6 @@ module_param_named(sev_es, sev_es_enabled, bool, 0444); #endif /* CONFIG_KVM_AMD_SEV */ static u8 sev_enc_bit; -static int sev_flush_asids(void); static DECLARE_RWSEM(sev_deactivate_lock); static DEFINE_MUTEX(sev_bitmap_lock); unsigned int max_sev_asid;
Remove the forward declaration of sev_flush_asids(), which is only a few lines above the function itself. No functional change intended. Signed-off-by: Sean Christopherson <seanjc@google.com> --- arch/x86/kvm/svm/sev.c | 1 - 1 file changed, 1 deletion(-)