]> 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)
commit4742e3038ebff67f7b1f66d38f6dfe30535d0280
tree439ef1b2f6d88510bdea04de805b0f7c38c0e00a
parente2cdb7c790df5ecfcea545f1fbdea68fc75a8182
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: 88821ff652b9 ("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