The "struct io_submit_state *state" parameter is not used, remove it.
Signed-off-by: Xiaoguang Wang <xiaoguang.wang@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
}
static int io_submit_sqe(struct io_kiocb *req, const struct io_uring_sqe *sqe,
- struct io_submit_state *state, struct io_kiocb **link)
+ struct io_kiocb **link)
{
struct io_ring_ctx *ctx = req->ctx;
int ret;
trace_io_uring_submit_sqe(ctx, req->opcode, req->user_data,
true, async);
- err = io_submit_sqe(req, sqe, statep, &link);
+ err = io_submit_sqe(req, sqe, &link);
if (err)
goto fail_req;
}