diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2023-08-11 15:53:44 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-08-11 19:42:57 +0300 |
commit | 056695bffa4beed5668dd4aa11efb696eacb3ed9 (patch) | |
tree | 69173c86b15dc98b22054e4c52867b0d4f7b9137 /io_uring/io_uring.h | |
parent | 00b0db562485fbb259cd4054346208ad0885d662 (diff) | |
download | linux-056695bffa4beed5668dd4aa11efb696eacb3ed9.tar.xz |
io_uring: remove return from io_req_cqe_overflow()
Nobody checks io_req_cqe_overflow()'s return, make it return void.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/8f2029ad0c22f73451664172d834372608ee0a77.1691757663.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/io_uring.h')
-rw-r--r-- | io_uring/io_uring.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/io_uring.h b/io_uring/io_uring.h index 3aa208fbe905..3dc0b6fb0ef7 100644 --- a/io_uring/io_uring.h +++ b/io_uring/io_uring.h @@ -39,7 +39,7 @@ enum { }; struct io_uring_cqe *__io_get_cqe(struct io_ring_ctx *ctx, bool overflow); -bool io_req_cqe_overflow(struct io_kiocb *req); +void io_req_cqe_overflow(struct io_kiocb *req); int io_run_task_work_sig(struct io_ring_ctx *ctx); void io_req_defer_failed(struct io_kiocb *req, s32 res); void io_req_complete_post(struct io_kiocb *req, unsigned issue_flags); |