Remove unneeded defines

This commit is contained in:
David Smith committed 2025-07-08 23:53:50 +00:00
1 parent d6687d2bbb
commit d2b78f801b
1 file changed
-16
-16
View File
@@ -8,21 +8,6 @@
#ifndef SWIFT_IORING_C_WRAPPER
#define SWIFT_IORING_C_WRAPPER
#ifdef __alpha__
/*
* alpha is the only exception, all other architectures
* have common numbers for new system calls.
*/
# ifndef __NR_io_uring_setup
# define __NR_io_uring_setup 535
# endif
# ifndef __NR_io_uring_enter
# define __NR_io_uring_enter 536
# endif
# ifndef __NR_io_uring_register
# define __NR_io_uring_register 537
# endif
#else /* !__alpha__ */
# ifndef __NR_io_uring_setup
# define __NR_io_uring_setup 425
# endif
@@ -32,7 +17,6 @@
# ifndef __NR_io_uring_register
# define __NR_io_uring_register 427
# endif
#endif
/*
struct io_uring_getevents_arg {