diff options
author | Thomas Gleixner <[email protected]> | 2024-06-10 18:42:23 +0200 |
---|---|---|
committer | Frederic Weisbecker <[email protected]> | 2024-07-29 21:57:34 +0200 |
commit | 286bfaccea76e0bd3805ac6e77c8ec4a18ecb3fe (patch) | |
tree | 7457278f57be26f8f7d343bb48c2759d8d688ec8 | |
parent | c44462661e4c5967c5df451393af727d1886c8ea (diff) |
posix-cpu-timers: Remove incorrect comment in posix_cpu_timer_set()
A leftover from historical code which describes fiction.
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
-rw-r--r-- | kernel/time/posix-cpu-timers.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/kernel/time/posix-cpu-timers.c b/kernel/time/posix-cpu-timers.c index b1a9a2ffddc9..eb28150c8d63 100644 --- a/kernel/time/posix-cpu-timers.c +++ b/kernel/time/posix-cpu-timers.c @@ -689,13 +689,8 @@ static int posix_cpu_timer_set(struct k_itimer *timer, int timer_flags, __posix_cpu_timer_get(timer, old, now); } + /* Retry if the timer expiry is running concurrently */ if (unlikely(ret)) { - /* - * We are colliding with the timer actually firing. - * Punt after filling in the timer's old value, and - * disable this firing since we are already reporting - * it as an overrun (thanks to bump_cpu_timer above). - */ unlock_task_sighand(p, &flags); goto out; } |