diff options
author | Anna-Maria Behnsen <[email protected]> | 2024-02-21 10:05:36 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2024-02-22 17:52:31 +0100 |
commit | af68cb3fc736e13e66fc8202ea94c3aff7299f39 (patch) | |
tree | eb9d4f3b152e3945bb69eb154b2e4190b7f5e9e7 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | aae55e9fb8fc73893f86165f0d84a33b7080902a (diff) |
timers: Simplify code in run_local_timers()
The logic for raising a softirq the way it is implemented right now, is
readable for two timer bases. When increasing the number of timer bases,
code gets harder to read. With the introduction of the timer migration
hierarchy, there will be three timer bases.
Therefore restructure the code to use a loop. No functional change.
Signed-off-by: Anna-Maria Behnsen <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Frederic Weisbecker <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions