Commit 7675361
sched: deadline: Cleanup goto label in pick_earliest_pushable_dl_task
Commit 8b5e770 ("sched/deadline: Optimize pull_dl_task()")
added a goto label seems would be better written as a while
loop.
So replace the goto with a while loop, to make it easier to read.
Reported-by: Todd Kjos <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Reviewed-and-tested-by: K Prateek Nayak <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Juri Lelli <[email protected]>
Link: https://lore.kernel.org/r/[email protected]1 parent 7d5265f commit 7675361
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2516 | 2516 | | |
2517 | 2517 | | |
2518 | 2518 | | |
2519 | | - | |
2520 | | - | |
2521 | | - | |
| 2519 | + | |
2522 | 2520 | | |
2523 | 2521 | | |
2524 | 2522 | | |
2525 | 2523 | | |
2526 | 2524 | | |
2527 | 2525 | | |
2528 | | - | |
2529 | 2526 | | |
2530 | 2527 | | |
2531 | 2528 | | |
| |||
0 commit comments