]> git.baikalelectronics.ru Git - kernel.git/commit
block, bfq: remove useless checking in bfq_put_queue()
authorYu Kuai <yukuai3@huawei.com>
Tue, 16 Aug 2022 01:56:30 +0000 (09:56 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 22 Aug 2022 16:07:56 +0000 (10:07 -0600)
commit1e3cc2125d7cc7d492b2e6e52d09c1e17ba573c3
tree8e168bf25b47158023ca3e52b7869971067710ea
parentc2090eabacd72910a5edf57cf42004097a13ddad
block, bfq: remove useless checking in bfq_put_queue()

'bfqq->bfqd' is ensured to set in bfq_init_queue(), and it will never
change afterwards.

Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20220816015631.1323948-3-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-iosched.c