Commit 7d6ddea6 authored by Pavel Begunkov's avatar Pavel Begunkov Committed by Jens Axboe
Browse files

io_uring: remove init for unused list



poll*() doesn't use req->list, don't init it.

Signed-off-by: default avatarPavel Begunkov <asml.silence@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 135fcde8
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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,