KVM: x86/mmu: remove unused variable
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 1 Aug 2022 11:27:18 +0000 (07:27 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 1 Aug 2022 11:30:00 +0000 (07:30 -0400)
commit31f6e3832a0f1c366e54033335aed2375f6e447a
tree20acc166a5f727d5bcac81c06918471403245aa5
parentc4edb2babc750d829cb551a6af7cb39b2afc9fb5
KVM: x86/mmu: remove unused variable

The last use of 'pfn' went away with the same-named argument to
host_pfn_mapping_level; now that the hugepage level is obtained
exclusively from the host page tables, kvm_mmu_zap_collapsible_spte
does not need to know host pfns at all.

Fixes: a8ac499bb6ab ("KVM: x86/mmu: Don't require refcounted "struct page" to create huge SPTEs")
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c