summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorKeqian Zhu <zhukeqian1@huawei.com>2021-04-06 14:35:04 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2021-04-20 04:18:50 -0400
commitd90b15edbefb2229d22c6a69113e954e761e1072 (patch)
tree7b7b0511a5431ea1e170ed06cc342a7fab83efd0 /arch/x86
parent44f1b5586df03b044704f3c57f529ea4120f406b (diff)
downloadlinux-d90b15edbefb2229d22c6a69113e954e761e1072.tar.gz
linux-d90b15edbefb2229d22c6a69113e954e761e1072.tar.bz2
linux-d90b15edbefb2229d22c6a69113e954e761e1072.zip
KVM: x86: Remove unused function declaration
kvm_mmu_slot_largepage_remove_write_access() is decared but not used, just remove it. Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com> Message-Id: <20210406063504.17552-1-zhukeqian1@huawei.com> Reviewed-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/include/asm/kvm_host.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 770063d50142..eb5c7e6b6529 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -1443,8 +1443,6 @@ void kvm_mmu_zap_collapsible_sptes(struct kvm *kvm,
const struct kvm_memory_slot *memslot);
void kvm_mmu_slot_leaf_clear_dirty(struct kvm *kvm,
struct kvm_memory_slot *memslot);
-void kvm_mmu_slot_largepage_remove_write_access(struct kvm *kvm,
- struct kvm_memory_slot *memslot);
void kvm_mmu_zap_all(struct kvm *kvm);
void kvm_mmu_invalidate_mmio_sptes(struct kvm *kvm, u64 gen);
unsigned long kvm_mmu_calculate_default_mmu_pages(struct kvm *kvm);