summaryrefslogtreecommitdiffstats
path: root/block/bfq-iosched.h
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huaweicloud.com>2023-01-16 10:51:51 +0100
committerJens Axboe <axboe@kernel.dk>2023-01-30 04:03:49 +0100
commit433d4b03e722bdfb1b6a75563cb45e8dca6784e7 (patch)
tree31c7a9bb34ba25e3b09e89f263c360da2a4f97f8 /block/bfq-iosched.h
parentblock, bfq: remove unnecessary dereference to get async_bfqq (diff)
downloadlinux-433d4b03e722bdfb1b6a75563cb45e8dca6784e7.tar.xz
linux-433d4b03e722bdfb1b6a75563cb45e8dca6784e7.zip
block, bfq: remove redundant check in bfq_put_cooperator
We have already avoided a circular list in bfq_setup_merge (see comments in bfq_setup_merge() for details), so bfq_queue will not appear in it's new_bfqq list. Just remove this check. Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20230116095153.3810101-7-shikemeng@huaweicloud.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-iosched.h')
0 files changed, 0 insertions, 0 deletions