summaryrefslogtreecommitdiffstats
path: root/io_uring/poll.c
diff options
context:
space:
mode:
Diffstat (limited to 'io_uring/poll.c')
-rw-r--r--io_uring/poll.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/io_uring/poll.c b/io_uring/poll.c
index 558dc170468a..fdb6b1101ffc 100644
--- a/io_uring/poll.c
+++ b/io_uring/poll.c
@@ -689,7 +689,6 @@ int io_poll_add_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
if ((flags & IORING_POLL_ADD_MULTI) && (req->flags & REQ_F_CQE_SKIP))
return -EINVAL;
- io_req_set_refcount(req);
poll->events = io_poll_parse_events(sqe, flags);
return 0;
}