aboutsummaryrefslogtreecommitdiffstats
path: root/fs/io_uring.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-12-18 08:54:21 -0700
committerJens Axboe <axboe@kernel.dk>2020-01-20 17:03:59 -0700
commitadd7b6b85a4dfa89283834d181e87ea2144b9028 (patch)
tree639d63fc509dc23d842b79f81b0a84eb070b5dfb /fs/io_uring.c
parentio_uring: move *queue_link_head() from common path (diff)
downloadlinux-dev-add7b6b85a4dfa89283834d181e87ea2144b9028.tar.xz
linux-dev-add7b6b85a4dfa89283834d181e87ea2144b9028.zip
io_uring: remove two unnecessary function declarations
__io_free_req() and io_double_put_req() aren't used before they are defined, so we can kill these two forwards. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
-rw-r--r--fs/io_uring.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/io_uring.c b/fs/io_uring.c
index 165f77cfc6cb..b086a2dc47e2 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -518,9 +518,7 @@ struct io_submit_state {
static void io_wq_submit_work(struct io_wq_work **workptr);
static void io_cqring_fill_event(struct io_kiocb *req, long res);
-static void __io_free_req(struct io_kiocb *req);
static void io_put_req(struct io_kiocb *req);
-static void io_double_put_req(struct io_kiocb *req);
static void __io_double_put_req(struct io_kiocb *req);
static struct io_kiocb *io_prep_linked_timeout(struct io_kiocb *req);
static void io_queue_linked_timeout(struct io_kiocb *req);