Skip to content

Commit c09816f

Browse files
Yue Haibingsean-jc
authored andcommitted
KVM: x86: Remove unused declaration kvm_mmu_may_ignore_guest_pat()
Commit 3fee483 ("KVM: x86: remove shadow_memtype_mask") removed the functions but leave this declaration. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Link: https://patch.msgid.link/20251120120930.1448593-1-yuehaibing@huawei.com Signed-off-by: Sean Christopherson <seanjc@google.com>
1 parent ebec254 commit c09816f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/x86/kvm/mmu.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,6 @@ static inline u8 permission_fault(struct kvm_vcpu *vcpu, struct kvm_mmu *mmu,
235235
return -(u32)fault & errcode;
236236
}
237237

238-
bool kvm_mmu_may_ignore_guest_pat(struct kvm *kvm);
239-
240238
int kvm_mmu_post_init_vm(struct kvm *kvm);
241239
void kvm_mmu_pre_destroy_vm(struct kvm *kvm);
242240

0 commit comments

Comments
 (0)