Commit 70cf9f32 authored by Pavel Begunkov's avatar Pavel Begunkov Committed by Jens Axboe

io_uring: remove io_free_req_find_next()

There is only one one-liner user of io_free_req_find_next(). Inline it.
Signed-off-by: default avatarPavel Begunkov <asml.silence@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 9835d6fa
......@@ -984,15 +984,10 @@ static void io_req_find_next(struct io_kiocb *req, struct io_kiocb **nxt)
}
}
static void io_free_req_find_next(struct io_kiocb *req, struct io_kiocb **nxt)
{
io_req_find_next(req, nxt);
__io_free_req(req);
}
static void io_free_req(struct io_kiocb *req)
{
io_free_req_find_next(req, NULL);
io_req_find_next(req, NULL);
__io_free_req(req);
}
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment