diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c index 1d5bc669afd9..3a7be1695c39 100644 --- a/io_uring/io_uring.c +++ b/io_uring/io_uring.c @@ -2949,8 +2949,7 @@ static __cold int io_uring_create(struct io_ctx_config *config) static_branch_inc(&io_key_has_sqarray); if ((ctx->flags & IORING_SETUP_DEFER_TASKRUN) && - !(ctx->flags & IORING_SETUP_IOPOLL) && - !(ctx->flags & IORING_SETUP_SQPOLL)) + !(ctx->flags & IORING_SETUP_IOPOLL)) ctx->task_complete = true; if (ctx->task_complete || (ctx->flags & IORING_SETUP_IOPOLL))