summaryrefslogtreecommitdiffstats
path: root/io_uring/nop.c
diff options
context:
space:
mode:
Diffstat (limited to 'io_uring/nop.c')
-rw-r--r--io_uring/nop.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/io_uring/nop.c b/io_uring/nop.c
index 1a4e312dfe..d956599a3c 100644
--- a/io_uring/nop.c
+++ b/io_uring/nop.c
@@ -12,8 +12,6 @@
int io_nop_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
{
- if (READ_ONCE(sqe->rw_flags))
- return -EINVAL;
return 0;
}