diff options
author | 2024-06-10 18:42:23 +0200 | |
---|---|---|
committer | 2024-07-29 21:57:34 +0200 | |
commit | 286bfaccea76e0bd3805ac6e77c8ec4a18ecb3fe (patch) | |
tree | 7457278f57be26f8f7d343bb48c2759d8d688ec8 | |
parent | posix-cpu-timers: Use @now instead of @val for clarity (diff) | |
download | wireguard-linux-286bfaccea76e0bd3805ac6e77c8ec4a18ecb3fe.tar.xz wireguard-linux-286bfaccea76e0bd3805ac6e77c8ec4a18ecb3fe.zip |
posix-cpu-timers: Remove incorrect comment in posix_cpu_timer_set()
A leftover from historical code which describes fiction.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Diffstat (limited to '')
-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; } |