]> git.baikalelectronics.ru Git - kernel.git/commit
bfq-iosched: move bfq_stat_recursive_sum into the only caller
authorChristoph Hellwig <hch@lst.de>
Thu, 6 Jun 2019 10:26:23 +0000 (12:26 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 20 Jun 2019 16:32:34 +0000 (10:32 -0600)
commitf925309cd73d5b4fd78e397683e16904de589d6a
treee6d24147a5ada8d78231e7a5271ea1eb33befb2b
parent9fd5848b16ed0eafc5698d23c72b1d579d4b206d
bfq-iosched: move bfq_stat_recursive_sum into the only caller

This function was moved from core block code and is way to generic.
Fold it into the only caller and simplify it based on the actually
passed arguments.

Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-cgroup.c