mirror of
https://github.com/systemd/systemd.git
synced 2025-08-30 05:49:54 +03:00
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.
This commit is contained in:
@ -2432,7 +2432,6 @@ static void socket_enter_running(Socket *s, int cfd_in) {
|
||||
unit_add_to_dbus_queue(UNIT(s));
|
||||
}
|
||||
|
||||
TAKE_FD(cfd);
|
||||
return;
|
||||
|
||||
refuse:
|
||||
|
Reference in New Issue
Block a user