]> git.ipfire.org Git - thirdparty/systemd.git/commit
socket: drop redundant TAKE_FD(cfd) line
authorLennart Poettering <lennart@poettering.net>
Wed, 27 Sep 2023 15:21:51 +0000 (17:21 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 27 Sep 2023 15:27:23 +0000 (17:27 +0200)
commit529f768ab85917b5404754334ed0212076e562eb
tree632560ea0cc0fb5f4e8ae9ec53358d403e2b4d71
parent3dde96d85471ed9f33d40cb40f7a3797185ff4c6
socket: drop redundant TAKE_FD(cfd) line

In the only two codepaths we reach this place we know that cfd is
already invalidated. In the Accept=yes case there's already a
TAKE_FD() a few lines further up, and in the Accept=no case there is no
connection fd anyway.
src/core/socket.c