Two duplicated code segment refactors. No functional change. v1->v2: Remove inline keyword of blkcg_iostat_update(). Jason Yan (2): blk-cgroup: factor out blkcg_iostat_update() blk-cgroup: factor out blkcg_free_all_cpd() block/blk-cgroup.c | 73 ++++++++++++++++++++++++---------------------- 1 file changed, 38 insertions(+), 35 deletions(-) -- 2.31.1