projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
135fcde
)
io_uring: remove init for unused list
author
Pavel Begunkov
<asml.silence@gmail.com>
Mon, 13 Jul 2020 20:37:13 +0000
(23:37 +0300)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 24 Jul 2020 18:55:45 +0000
(12:55 -0600)
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>
fs/io_uring.c
patch
|
blob
|
history
diff --git
a/fs/io_uring.c
b/fs/io_uring.c
index 2544795cfd3053ad5a81f99427541926211c8129..1e4ac48b15572a4c9c008016ca450943c1b4f7ec 100644
(file)
--- 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,