提交 7d6ddea6 编写于 作者: P Pavel Begunkov 提交者: Jens Axboe

io_uring: remove init for unused list

poll*() doesn't use req->list, don't init it.
Signed-off-by: NPavel Begunkov <asml.silence@gmail.com>
Signed-off-by: NJens Axboe <axboe@kernel.dk>
上级 135fcde8
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册