]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc009899aef19e60ffefb8e8349ecb1d8b502bc48
tree439ef1b2f6d88510bdea04de805b0f7c38c0e00a
parenta9e32226a00e1abd9d0468cbd82112f47425339b
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: 4b224a2e14f5 ("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