]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
KVM: x86/mmu: Drop new_spte local variable from restore_acc_track_spte()
authorDavid Matlack <dmatlack@google.com>
Wed, 19 Jan 2022 23:07:30 +0000 (23:07 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Feb 2022 18:50:39 +0000 (13:50 -0500)
commit77c23c77f915cb1470b3036a8dd6400f5ef8986e
treef1ffbda062301635bd5c68c4afcc72e43c24f82f
parent59940e76d13da7d0b5f81194be7a17ad4639bcd3
KVM: x86/mmu: Drop new_spte local variable from restore_acc_track_spte()

The new_spte local variable is unnecessary. Deleting it can save a line
of code and simplify the remaining lines a bit.

No functional change intended.

Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20220119230739.2234394-10-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c