diff options
author | Dylan Yudaken <dylany@fb.com> | 2022-09-26 10:09:26 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-10-07 12:25:30 -0600 |
commit | 97c96e9fa36616d7890a6f3438172fc501927f01 (patch) | |
tree | 439ef1b2f6d88510bdea04de805b0f7c38c0e00a /io_uring/io_uring.c | |
parent | 9d84bb40bcb30a7fa16f33baa967aeb9953dda78 (diff) |
io_uring: simplify __io_uring_add_tctx_node
Remove submitter parameter from __io_uring_add_tctx_node.
It was only called from one place, and we can do that logic in that one
place.
Signed-off-by: Dylan Yudaken <dylany@fb.com>
Fixes: 97bbdc06a444 ("io_uring: add IORING_SETUP_SINGLE_ISSUER")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/io_uring.c')
-rw-r--r-- | io_uring/io_uring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c index 99a52f34b7d3..fe6ef64c873e 100644 --- a/io_uring/io_uring.c +++ b/io_uring/io_uring.c @@ -3355,7 +3355,7 @@ static int io_uring_install_fd(struct io_ring_ctx *ctx, struct file *file) if (fd < 0) return fd; - ret = __io_uring_add_tctx_node(ctx, false); + ret = __io_uring_add_tctx_node(ctx); if (ret) { put_unused_fd(fd); return ret; |