io_uring/uring_cmd: get rid of io_uring_cmd_prep_setup()
authorJens Axboe <axboe@kernel.dk>
Tue, 3 Jun 2025 20:00:27 +0000 (14:00 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 10 Jun 2025 13:36:26 +0000 (07:36 -0600)
commitcc213dbb6a58276bb69251c1226ce07531025506
treeb242bcfe4b3839699eb57fb607f89ee65ed07dd0
parent10384ada503582b60b9cefca177e83211c0d9905
io_uring/uring_cmd: get rid of io_uring_cmd_prep_setup()

It's a pretty pointless helper, just allocates and copies data. Fold it
into io_uring_cmd_prep().

Reviewed-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Anuj Gupta <anuj20.g@samsung.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/uring_cmd.c