io_uring: simplify __io_uring_add_tctx_node
authorDylan Yudaken <dylany@fb.com>
Mon, 26 Sep 2022 17:09:26 +0000 (10:09 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 7 Oct 2022 18:25:30 +0000 (12:25 -0600)
commit97c96e9fa36616d7890a6f3438172fc501927f01
tree439ef1b2f6d88510bdea04de805b0f7c38c0e00a
parent9d84bb40bcb30a7fa16f33baa967aeb9953dda78
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>
io_uring/io_uring.c
io_uring/tctx.c
io_uring/tctx.h