summaryrefslogtreecommitdiff
path: root/rust/helpers/xarray.c
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2025-09-10 16:04:37 +0800
committerJens Axboe <axboe@kernel.dk>2025-09-10 05:25:56 -0600
commit8bd7195fea6d9662aa3b32498a3828bfd9b63185 (patch)
treebee4ff087d4e7d4814e0d1a4c13d438e75fed662 /rust/helpers/xarray.c
parentdc1dd13d44fa4e4d466476c0f3517c1230c237e4 (diff)
blk-mq: remove useless checkings in blk_mq_update_nr_requests()
1) queue_requests_store() is the only caller of blk_mq_update_nr_requests(), where queue is already freezed, no need to check mq_freeze_depth; 2) q->tag_set must be set for request based device, and queue_is_mq() is already checked in blk_mq_queue_attr_visible(), no need to check q->tag_set. Signed-off-by: Yu Kuai <yukuai3@huawei.com> Reviewed-by: Nilay Shroff <nilay@linux.ibm.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions