Skip to content
Commit c9bf52a1 authored by Or Cohen's avatar Or Cohen Committed by Jakub Kicinski
Browse files

net/af_unix: Remove unused old_pid variable



Commit 109f6e39 ("af_unix: Allow SO_PEERCRED
to work across namespaces.") introduced the old_pid variable
in unix_listen, but it's never used.
Remove the declaration and the call to put_pid.

Signed-off-by: default avatarOr Cohen <orcohen@paloaltonetworks.com>
Link: https://lore.kernel.org/r/20201011153527.18628-1-orcohen@paloaltonetworks.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 0403a2b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment