diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-12-18 18:54:21 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-01-21 03:03:59 +0300 |
commit | add7b6b85a4dfa89283834d181e87ea2144b9028 (patch) | |
tree | 639d63fc509dc23d842b79f81b0a84eb070b5dfb /fs/io_uring.c | |
parent | 32fe525b6d10fec956cfe68f0db76839cd7f0ea5 (diff) | |
download | linux-add7b6b85a4dfa89283834d181e87ea2144b9028.tar.xz |
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 'fs/io_uring.c')
-rw-r--r-- | fs/io_uring.c | 2 |
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); |