Skip to content
Commit 8cecb07d authored by Jens Axboe's avatar Jens Axboe
Browse files

blk-mq-tag: remove redundant check for 'data->hctx' being non-NULL



We used to pass in NULL for hctx for reserved tags, but we don't
do that anymore. Hence the check for whether hctx is NULL or not
is now redundant, kill it.

Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Fixes: a642a158aec6 ("blk-mq-tag: cleanup the normal/reserved tag allocation")
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 610d886c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment