Skip to content
Snippets Groups Projects
Commit 5685ad31 authored by Vitaly Kuznetsov's avatar Vitaly Kuznetsov
Browse files

KVM: x86/mmu: remove unused variable

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2119111



commit 31f6e383
Author: Paolo Bonzini <pbonzini@redhat.com>
Date:   Mon Aug 1 07:27:18 2022 -0400

    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: a8ac499b ("KVM: x86/mmu: Don't require refcounted "struct page" to create huge SPTEs")
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>

Signed-off-by: default avatarVitaly Kuznetsov <vkuznets@redhat.com>
parent b50b155b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment