io_uring: remove unnecessary forward declaration
authorJens Axboe <axboe@kernel.dk>
Thu, 10 Aug 2023 21:01:58 +0000 (15:01 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 10 Aug 2023 21:01:58 +0000 (15:01 -0600)
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>
io_uring/io_uring.c

index 15697d8..047576b 100644 (file)
@@ -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;