Skip to content

Commit b215580

Browse files
committed
uapi: libc-compat: remove ipx leftovers
The uAPI headers for IPX were deleted 3 years ago in commit 6c9b408 ("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/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 3b7dc70 commit b215580

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

include/uapi/linux/libc-compat.h

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -140,25 +140,6 @@
140140

141141
#endif /* _NETINET_IN_H */
142142

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-
162143
/* Definitions for xattr.h */
163144
#if defined(_SYS_XATTR_H)
164145
#define __UAPI_DEF_XATTR 0
@@ -240,23 +221,6 @@
240221
#define __UAPI_DEF_IP6_MTUINFO 1
241222
#endif
242223

243-
/* Definitions for ipx.h */
244-
#ifndef __UAPI_DEF_SOCKADDR_IPX
245-
#define __UAPI_DEF_SOCKADDR_IPX 1
246-
#endif
247-
#ifndef __UAPI_DEF_IPX_ROUTE_DEFINITION
248-
#define __UAPI_DEF_IPX_ROUTE_DEFINITION 1
249-
#endif
250-
#ifndef __UAPI_DEF_IPX_INTERFACE_DEFINITION
251-
#define __UAPI_DEF_IPX_INTERFACE_DEFINITION 1
252-
#endif
253-
#ifndef __UAPI_DEF_IPX_CONFIG_DATA
254-
#define __UAPI_DEF_IPX_CONFIG_DATA 1
255-
#endif
256-
#ifndef __UAPI_DEF_IPX_ROUTE_DEF
257-
#define __UAPI_DEF_IPX_ROUTE_DEF 1
258-
#endif
259-
260224
/* Definitions for xattr.h */
261225
#ifndef __UAPI_DEF_XATTR
262226
#define __UAPI_DEF_XATTR 1

0 commit comments

Comments
 (0)