]> git.baikalelectronics.ru Git - kernel.git/commit
bfq: don't duplicate code for different paths
authorhuhai <huhai@tj.kylinos.cn>
Fri, 25 Dec 2020 13:00:16 +0000 (21:00 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jan 2021 01:20:47 +0000 (18:20 -0700)
commit1ad23903bf81fa2863834539d42a9bb38bb9300d
treeffeeb11642ef2017a255a6a06ec155892685e609
parentbf28163409aae90d00e97da080450df25911ca3b
bfq: don't duplicate code for different paths

As we can see, returns parent_sched_may_change whether
sd->next_in_service changes or not, so remove this judgment.

Signed-off-by: huhai <huhai@tj.kylinos.cn>
Acked-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-wf2q.c