summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2023-08-10 15:01:58 -0600
committerJens Axboe <axboe@kernel.dk>2023-08-10 15:01:58 -0600
commit89226307b109f828566f0e024ee97b722167927c (patch)
tree3ae0fa222482235cd8cf6eda7eb24fa069eb9587
parent17bc28374cd06b7d2d3f1e88470ef89f9cd3a497 (diff)
io_uring: remove unnecessary forward declaration
We never use io_move_task_work_from_local() before it's defined in the file anyway, so kill the forward declaration. Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--io_uring/io_uring.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c
index 15697d88930d..047576bc98d0 100644
--- a/io_uring/io_uring.c
+++ b/io_uring/io_uring.c
@@ -147,7 +147,6 @@ static bool io_uring_try_cancel_requests(struct io_ring_ctx *ctx,
bool cancel_all);
static void io_queue_sqe(struct io_kiocb *req);
-static void io_move_task_work_from_local(struct io_ring_ctx *ctx);
static void __io_submit_flush_completions(struct io_ring_ctx *ctx);
struct kmem_cache *req_cachep;