projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6e68ee
)
bfq: don't duplicate code for different paths
author
huhai
<huhai@tj.kylinos.cn>
Fri, 25 Dec 2020 13:00:16 +0000
(21:00 +0800)
committer
Jens Axboe
<axboe@kernel.dk>
Mon, 25 Jan 2021 01:20:47 +0000
(18:20 -0700)
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
patch
|
blob
|
history
diff --git
a/block/bfq-wf2q.c
b/block/bfq-wf2q.c
index 26776bdbdf360c97635c6fb197b0b3c497689f2e..070e34a7feb1843c43849406212fb37b1aae5bf1 100644
(file)
--- a/
block/bfq-wf2q.c
+++ b/
block/bfq-wf2q.c
@@
-137,9
+137,6
@@
static bool bfq_update_next_in_service(struct bfq_sched_data *sd,
sd->next_in_service = next_in_service;
- if (!next_in_service)
- return parent_sched_may_change;
-
return parent_sched_may_change;
}