Remove __ASSUME_SOCK_CLOEXEC / SOCK_CLOEXEC conditionals in Linux-specific code
Commit Message
"Joseph S. Myers" <joseph@codesourcery.com> writes:
> -
> - /* Make sure the descriptor is closed on exec. */
> - if (have_sock_cloexec < 0
> - && fcntl (netlink_socket, F_SETFD, FD_CLOEXEC) != 0)
> - goto errout;
That's the last use. Committed.
Andreas.
* nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
Remove unused errout label.
@@ -209,7 +209,6 @@ init_mq_netlink (void)
if (err != 0)
{
- errout:
close_not_cancel_no_status (netlink_socket);
netlink_socket = -1;
}