diff options
author | Xiaoguang Wang <xiaoguang.wang@linux.alibaba.com> | 2020-05-08 16:19:30 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-09 06:29:47 +0300 |
commit | 7d01bd745a8f52ff2883f661235139ab6e7d23e6 (patch) | |
tree | d3394db58426fb11f87bd66c5c9b3cc31ed10cb9 /fs/io_uring.c | |
parent | 904fbcb115c85090484dfdffaf7f461d96fe8e53 (diff) | |
download | linux-7d01bd745a8f52ff2883f661235139ab6e7d23e6.tar.xz |
io_uring: remove obsolete 'state' parameter
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>
Diffstat (limited to 'fs/io_uring.c')
-rw-r--r-- | fs/io_uring.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/io_uring.c b/fs/io_uring.c index 9fd1257c8404..94870d63b16a 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -5629,7 +5629,7 @@ static inline void io_queue_link_head(struct io_kiocb *req) } 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; @@ -5893,7 +5893,7 @@ fail_req: 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; } |