diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-07-13 23:37:13 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-24 12:55:45 -0600 |
commit | 7d6ddea6beaf6639cf3a2b291dcdac6fe1edc584 (patch) | |
tree | b5a915a465c81f155f7e660489b62639bd111f35 /fs/io_uring.c | |
parent | 135fcde8496b03d31648171dbc038990112e41d5 (diff) |
io_uring: remove init for unused list
poll*() doesn't use req->list, don't init it.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io_uring.c')
-rw-r--r-- | fs/io_uring.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/io_uring.c b/fs/io_uring.c index 2544795cfd30..1e4ac48b1557 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -4964,7 +4964,6 @@ static int io_poll_add(struct io_kiocb *req) req->flags &= ~REQ_F_WORK_INITIALIZED; INIT_HLIST_NODE(&req->hash_node); - INIT_LIST_HEAD(&req->list); ipt.pt._qproc = io_poll_queue_proc; mask = __io_arm_poll_handler(req, &req->poll, &ipt, poll->events, |