diff options
| author | Kemeng Shi <shikemeng@huawei.com> | 2022-10-18 19:12:38 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2022-11-01 09:12:24 -0600 |
| commit | db5896e9cf93f119c0b181c5e6b473d8bf0302e5 (patch) | |
| tree | ef26c4581438227e3a886042dd6ad36732d46c81 /tools/perf/scripts/python/bin | |
| parent | 64b36075eb0e50af6f59047b5f698a9f2bb2b4fd (diff) | |
| download | linux-db5896e9cf93f119c0b181c5e6b473d8bf0302e5.tar.gz linux-db5896e9cf93f119c0b181c5e6b473d8bf0302e5.zip | |
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: Kemeng Shi <shikemeng@huawei.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Link: https://lore.kernel.org/r/20221018111240.22612-2-shikemeng@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
