diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-09-08 17:56:57 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-09-21 21:15:01 +0200 |
commit | c0dc995eb2295e1be6b95b60c90c59f87b009bdb (patch) | |
tree | 1b5a5197a3765de25a112a2e28f63bdd807b8010 /io_uring/timeout.h | |
parent | io_uring: add fast path for io_run_local_work() (diff) | |
download | linux-c0dc995eb2295e1be6b95b60c90c59f87b009bdb.tar.xz linux-c0dc995eb2295e1be6b95b60c90c59f87b009bdb.zip |
io_uring: remove unused return from io_disarm_next
We removed conditional io_commit_cqring_flush() guarding against
spurious eventfd and the io_disarm_next()'s return value is not used
anymore, just void it.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/9a441c9a32a58bcc586076fa9a7d0dc33f1fb3cb.1662652536.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
-rw-r--r-- | io_uring/timeout.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/timeout.h b/io_uring/timeout.h index 858c62644897..a6939f18313e 100644 --- a/io_uring/timeout.h +++ b/io_uring/timeout.h @@ -27,7 +27,7 @@ int io_timeout_cancel(struct io_ring_ctx *ctx, struct io_cancel_data *cd); __cold bool io_kill_timeouts(struct io_ring_ctx *ctx, struct task_struct *tsk, bool cancel_all); void io_queue_linked_timeout(struct io_kiocb *req); -bool io_disarm_next(struct io_kiocb *req); +void io_disarm_next(struct io_kiocb *req); int io_timeout_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); int io_link_timeout_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); |