summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2025-10-08 01:27:33 +0300
committerSean Christopherson <seanjc@google.com>2025-10-20 16:30:29 +0300
commit5f3e10797ab883e9dcc256f21094f039c2bb3143 (patch)
tree428304724a4bea6c1d7389f33ef6d5317b17e3e8 /scripts
parent765fcd7c0753cc62d0a839cbd8355cfaf57a7eb6 (diff)
downloadlinux-5f3e10797ab883e9dcc256f21094f039c2bb3143.tar.xz
KVM: guest_memfd: Drop a superfluous local var in kvm_gmem_fault_user_mapping()
Drop the local "int err" that's buried in the middle guest_memfd's user fault handler to avoid the potential for variable shadowing, e.g. if an "err" variable were also declared at function scope. No functional change intended. Link: https://lore.kernel.org/r/20251007222733.349460-1-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions