Commit 7537b90
Peter Zijlstra
sched: Simplify get_nohz_timer_target()
Use guards to reduce gotos and simplify control flow.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Reviewed-by: Valentin Schneider <vschneid@redhat.com>
Link: https://lore.kernel.org/r/20230801211811.828443100@infradead.org1 parent c1fc648 commit 7537b90
1 file changed
Lines changed: 6 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1097 | 1097 | | |
1098 | 1098 | | |
1099 | 1099 | | |
1100 | | - | |
| 1100 | + | |
| 1101 | + | |
1101 | 1102 | | |
1102 | 1103 | | |
1103 | 1104 | | |
1104 | 1105 | | |
1105 | 1106 | | |
1106 | | - | |
1107 | | - | |
1108 | | - | |
1109 | | - | |
| 1107 | + | |
| 1108 | + | |
1110 | 1109 | | |
1111 | 1110 | | |
1112 | 1111 | | |
1113 | 1112 | | |
1114 | 1113 | | |
1115 | | - | |
1116 | | - | |
1117 | | - | |
1118 | | - | |
| 1114 | + | |
| 1115 | + | |
1119 | 1116 | | |
1120 | 1117 | | |
1121 | 1118 | | |
| |||
0 commit comments