]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: guest_memfd: remove redundant gmem variable initialization
authorShivank Garg <shivankg@amd.com>
Sun, 12 Oct 2025 07:16:07 +0000 (07:16 +0000)
committerSean Christopherson <seanjc@google.com>
Mon, 20 Oct 2025 13:30:27 +0000 (06:30 -0700)
commit3f1078a445d9038532a572ff643a826ed9335259
tree8aceba34b6586bb5595d1a0bc1c7820f4c7200a9
parent049e560d4f47960c31c06f3de7712e4d2c5d16a2
KVM: guest_memfd: remove redundant gmem variable initialization

Remove redundant initialization of gmem in __kvm_gmem_get_pfn() as it is
already initialized at the top of the function.

No functional change intended.

Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Shivank Garg <shivankg@amd.com>
Link: https://lore.kernel.org/r/20251012071607.17646-2-shivankg@amd.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
virt/kvm/guest_memfd.c