diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2023-06-23 14:23:30 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-06-23 17:19:40 +0300 |
commit | 0fdb9a196c6728b51e0e7a4f6fa292d9fd5793de (patch) | |
tree | 214da483f4bf002cfeed56e1a6ed1216f661392c /io_uring/io_uring.h | |
parent | ff12617728fa5c7fb5325e164503ca4e936b80bd (diff) | |
download | linux-0fdb9a196c6728b51e0e7a4f6fa292d9fd5793de.tar.xz |
io_uring: make io_cq_unlock_post static
io_cq_unlock_post() is exclusively used in io_uring/io_uring.c, mark it
static and don't expose to other files.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/3dc8127dda4514e1dd24bb32035faac887c5fa37.1687518903.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, 0 insertions, 2 deletions
diff --git a/io_uring/io_uring.h b/io_uring/io_uring.h index 20ba6df49b1f..d3606d30cf6f 100644 --- a/io_uring/io_uring.h +++ b/io_uring/io_uring.h @@ -110,8 +110,6 @@ static inline void io_req_task_work_add(struct io_kiocb *req) #define io_for_each_link(pos, head) \ for (pos = (head); pos; pos = pos->link) -void io_cq_unlock_post(struct io_ring_ctx *ctx); - static inline struct io_uring_cqe *io_get_cqe_overflow(struct io_ring_ctx *ctx, bool overflow) { |