KVM: MMU: remove unnecessary argument to mmu_set_spte
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Aug 2021 11:42:10 +0000 (07:42 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Oct 2021 07:44:55 +0000 (03:44 -0400)
commiteb5cd7ffe142a989c77e9989e3e9ea986dc418aa
tree3a8600583b08b7c123b82353f30631fc48aa9076
parentad67e4806e4c2d920e2045b3fafc60ddbc3017f5
KVM: MMU: remove unnecessary argument to mmu_set_spte

The level of the new SPTE can be found in the kvm_mmu_page struct; there
is no need to pass it down.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/mmu/paging_tmpl.h