ublk: remove task variable from __ublk_ch_uring_cmd()
authorCaleb Sander Mateos <csander@purestorage.com>
Fri, 20 Jun 2025 15:09:59 +0000 (09:09 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 30 Jun 2025 22:02:46 +0000 (16:02 -0600)
commitbe4f1b619f5a7fa1f5641c780bfec1a156c279cb
tree5cf37eb7295c11700fb43559ee96e9f40ddb58a6
parentee97736384beccc1f72116718af23e5f6de75210
ublk: remove task variable from __ublk_ch_uring_cmd()

The variable is computed from a simple expression and used once, so just
replace it with the expression.

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250620151008.3976463-6-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/ublk_drv.c