]> git.baikalelectronics.ru Git - kernel.git/commit
net/af_unix: Remove unused old_pid variable
authorOr Cohen <orcohen2006@gmail.com>
Sun, 11 Oct 2020 15:35:27 +0000 (18:35 +0300)
committerJakub Kicinski <kuba@kernel.org>
Wed, 14 Oct 2020 00:21:46 +0000 (17:21 -0700)
commit8414b794d1ab6d2f702939827ab1ff792b8b9784
tree4fe10d6c9e5dbda89701701ad40bd5f51cacf584
parentac9fa51121eda6ac1b466f7d8528e6cb50ec95b6
net/af_unix: Remove unused old_pid variable

Commit 03d643b24db035bb4d94 ("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: Or Cohen <orcohen@paloaltonetworks.com>
Link: https://lore.kernel.org/r/20201011153527.18628-1-orcohen@paloaltonetworks.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/unix/af_unix.c