Skip to content
Commit db5896e9 authored by Kemeng Shi's avatar Kemeng Shi Committed by Jens Axboe
Browse files

block: Remove redundant parent blkcg_gp check in check_scale_change



Function blkcg_iolatency_throttle will make sure blkg->parent is not
NULL before calls check_scale_change. And function check_scale_change
is only called in blkcg_iolatency_throttle.

Signed-off-by: default avatarKemeng Shi <shikemeng@huawei.com>
Reviewed-by: default avatarJosef Bacik <josef@toxicpanda.com>
Link: https://lore.kernel.org/r/20221018111240.22612-2-shikemeng@huawei.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 64b36075
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment