null_blk: Delete nullb.{queue_depth, nr_queues}
authorJohn Garry <john.g.garry@oracle.com>
Thu, 22 Feb 2024 08:34:20 +0000 (08:34 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 22 Feb 2024 17:08:47 +0000 (10:08 -0700)
commit0f225f87873ee95dd4cf94dfc6a3249d4289e4ea
treec1afe8fa988e2c7b834cc48d59f5689c43738f59
parent4068550870360410261638479ffaf8364c366dd8
null_blk: Delete nullb.{queue_depth, nr_queues}

Since commit 8b631f9cf0b8 ("null_blk: remove the bio based I/O path"),
struct nullb members queue_depth and nr_queues are only ever written, so
delete them.

With that, null_exit_hctx() can also be deleted.

Signed-off-by: John Garry <john.g.garry@oracle.com>
Link: https://lore.kernel.org/r/20240222083420.6026-1-john.g.garry@oracle.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk/main.c
drivers/block/null_blk/null_blk.h