Skip to content

Commit a5bff51

Browse files
isilenceaxboe
authored andcommitted
io_uring: unexport io_req_cqe_overflow()
There are no users of io_req_cqe_overflow() apart from io_uring.c, make it static. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/f4295eb2f9eb98d5db38c0578f57f0b86bfe0d8c.1712708261.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 8c9a6f5 commit a5bff51

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

io_uring/io_uring.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ static bool io_cqring_event_overflow(struct io_ring_ctx *ctx, u64 user_data,
819819
return true;
820820
}
821821

822-
void io_req_cqe_overflow(struct io_kiocb *req)
822+
static void io_req_cqe_overflow(struct io_kiocb *req)
823823
{
824824
io_cqring_event_overflow(req->ctx, req->cqe.user_data,
825825
req->cqe.res, req->cqe.flags,

io_uring/io_uring.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ static inline bool io_should_wake(struct io_wait_queue *iowq)
6262
}
6363

6464
bool io_cqe_cache_refill(struct io_ring_ctx *ctx, bool overflow);
65-
void io_req_cqe_overflow(struct io_kiocb *req);
6665
int io_run_task_work_sig(struct io_ring_ctx *ctx);
6766
void io_req_defer_failed(struct io_kiocb *req, s32 res);
6867
bool io_post_aux_cqe(struct io_ring_ctx *ctx, u64 user_data, s32 res, u32 cflags);

0 commit comments

Comments
 (0)