io_uring: remove io_prep_next_work()
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 29 Feb 2020 19:56:10 +0000 (22:56 +0300)
committerJens Axboe <axboe@kernel.dk>
Mon, 2 Mar 2020 21:06:41 +0000 (14:06 -0700)
commit3b17cf5a58f2a38e23ee980b5dece717d0464fb7
tree6b46b3d9be1a84a4d081856ca55182fcfe6e0a49
parent4bc4494ec7c97ee38e2aa3d1cd76e289c49ac083
io_uring: remove io_prep_next_work()

io-wq cares about IO_WQ_WORK_UNBOUND flag only while enqueueing, so
it's useless setting it for a next req of a link. Thus, removed it
from io_prep_linked_timeout(), and inline the function.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c