Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

uapi: libc-compat: remove ipx leftovers

The uAPI headers for IPX were deleted 3 years ago in
commit 6c9b40844751 ("net: Remove net/ipx.h and uapi/linux/ipx.h header files")
Delete the leftover defines from libc-compat.h

Link: https://patch.msgid.link/20240911002142.1508694-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

-36
-36
include/uapi/linux/libc-compat.h
··· 140 140 141 141 #endif /* _NETINET_IN_H */ 142 142 143 - /* Coordinate with glibc netipx/ipx.h header. */ 144 - #if defined(__NETIPX_IPX_H) 145 - 146 - #define __UAPI_DEF_SOCKADDR_IPX 0 147 - #define __UAPI_DEF_IPX_ROUTE_DEFINITION 0 148 - #define __UAPI_DEF_IPX_INTERFACE_DEFINITION 0 149 - #define __UAPI_DEF_IPX_CONFIG_DATA 0 150 - #define __UAPI_DEF_IPX_ROUTE_DEF 0 151 - 152 - #else /* defined(__NETIPX_IPX_H) */ 153 - 154 - #define __UAPI_DEF_SOCKADDR_IPX 1 155 - #define __UAPI_DEF_IPX_ROUTE_DEFINITION 1 156 - #define __UAPI_DEF_IPX_INTERFACE_DEFINITION 1 157 - #define __UAPI_DEF_IPX_CONFIG_DATA 1 158 - #define __UAPI_DEF_IPX_ROUTE_DEF 1 159 - 160 - #endif /* defined(__NETIPX_IPX_H) */ 161 - 162 143 /* Definitions for xattr.h */ 163 144 #if defined(_SYS_XATTR_H) 164 145 #define __UAPI_DEF_XATTR 0 ··· 219 238 #endif 220 239 #ifndef __UAPI_DEF_IP6_MTUINFO 221 240 #define __UAPI_DEF_IP6_MTUINFO 1 222 - #endif 223 - 224 - /* Definitions for ipx.h */ 225 - #ifndef __UAPI_DEF_SOCKADDR_IPX 226 - #define __UAPI_DEF_SOCKADDR_IPX 1 227 - #endif 228 - #ifndef __UAPI_DEF_IPX_ROUTE_DEFINITION 229 - #define __UAPI_DEF_IPX_ROUTE_DEFINITION 1 230 - #endif 231 - #ifndef __UAPI_DEF_IPX_INTERFACE_DEFINITION 232 - #define __UAPI_DEF_IPX_INTERFACE_DEFINITION 1 233 - #endif 234 - #ifndef __UAPI_DEF_IPX_CONFIG_DATA 235 - #define __UAPI_DEF_IPX_CONFIG_DATA 1 236 - #endif 237 - #ifndef __UAPI_DEF_IPX_ROUTE_DEF 238 - #define __UAPI_DEF_IPX_ROUTE_DEF 1 239 241 #endif 240 242 241 243 /* Definitions for xattr.h */