diff options
author | Sean Christopherson <seanjc@google.com> | 2021-04-22 04:11:24 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-04-26 11:27:17 +0200 |
commit | 82b7ae0481aeed393094e4f73bf4566a504b86bc (patch) | |
tree | 1b04167ffb74dd5b741815ce4fc8fdffcd83dfb3 | |
parent | KVM: SVM: Drop redundant svm_sev_enabled() helper (diff) | |
download | linux-82b7ae0481aeed393094e4f73bf4566a504b86bc.tar.xz linux-82b7ae0481aeed393094e4f73bf4566a504b86bc.zip |
KVM: SVM: Remove an unnecessary prototype declaration of sev_flush_asids()
Remove the forward declaration of sev_flush_asids(), which is only a few
lines above the function itself.
No functional change intended.
Reviewed by: Tom Lendacky <thomas.lendacky@amd.com>
Reviewed-by: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210422021125.3417167-15-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | arch/x86/kvm/svm/sev.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kvm/svm/sev.c b/arch/x86/kvm/svm/sev.c index eedb5f60b27a..fd3ffc103ed8 100644 --- a/arch/x86/kvm/svm/sev.c +++ b/arch/x86/kvm/svm/sev.c @@ -58,7 +58,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; |