os: drop duplicate nested ifdef TCPCONN

This #ifdef is always true, since two lines above it's already
checked that TCPCONN is defined.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1539>
(cherry picked from commit 88b2257cc4)
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-04-17 17:25:48 +02:00 committed by Alan Coopersmith
parent 0c3fb1ea21
commit eede6c93c6

View file

@ -935,9 +935,7 @@ ResetHosts(const char *display)
#if defined(TCPCONN) && (!defined(IPv6) || !defined(AF_INET6))
union {
struct sockaddr sa;
#if defined(TCPCONN)
struct sockaddr_in in;
#endif /* TCPCONN */
} saddr;
#endif
int family = 0;