blk-mq: remove blk_qc_t_valid
authorChristoph Hellwig <hch@lst.de>
Tue, 12 Oct 2021 11:12:18 +0000 (13:12 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:36 +0000 (06:17 -0600)
commit28a1ae6b9daba6ac65700eeb38479bd6fadec089
tree3a225109e30871e2e06cd9a439bde0f26b9ced7d
parentefbabbe121f96d4b1a98a2c2ef5d2e8f7fb41c87
blk-mq: remove blk_qc_t_valid

Move the trivial check into the only caller.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Tested-by: Mark Wunderlich <mark.wunderlich@intel.com>
Link: https://lore.kernel.org/r/20211012111226.760968-9-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
include/linux/blk_types.h