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

blk-iocost: Remove vrate member in struct ioc_now



If we trace vtime_base_rate instead of vtime_rate, there is nowhere
which accesses now->vrate except function ioc_now using now->vrate locally.
Just remove it.

Signed-off-by: default avatarKemeng Shi <shikemeng@huawei.com>
Acked-by: default avatarTejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20221018121932.10792-5-shikemeng@huawei.com
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 63c9eac4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment