KVM: x86: Remove unused function declaration
PATCH 1/1 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 <[email protected]>
--- arch/x86/include/asm/kvm_host.h | 2 -- 1 file changed, 2 deletions(-)
arch/x86/include/asm/kvm_host.h +0 -2
@@ -1440,8 +1440,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);
Signature · 1 line
2.23.0
Quoted 4 lines · Keqian Zhu
kvm_mmu_slot_largepage_remove_write_access()is decared but not used, just remove it.Signed-off-by Keqian Zhu <[email protected]>
Reviewed-by Sean Christopherson <[email protected]>
Quoted 14 lines · Keqian Zhu
kvm_mmu_slot_largepage_remove_write_access()is decared but not used, just remove it.Signed-off-by Keqian Zhu <[email protected]>--- arch/x86/include/asm/kvm_host.h | 2 -- 1 file changed, 2 deletions(-)arch/x86/include/asm/kvm_host.h +0
-0
arch/x86/include/asm/kvm_host.h void kvm_mmu_zap_collapsible_sptes(struct kvm *kvm, · line 1445
Quoted 8 lines
arch/x86/include/asm/kvm_host.h +0
-2@@ -1440,8 +1440,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);
Queued, thanks.
Paolo