[tip: timers/core] posix-cpu-timers: Remove incorrect comment in posix_cpu_timer_set()

From: tip-bot2 for Thomas Gleixner
Date: Tue Jul 30 2024 - 13:07:52 EST


The following commit has been merged into the timers/core branch of tip:

Commit-ID: 286bfaccea76e0bd3805ac6e77c8ec4a18ecb3fe
Gitweb: https://git.kernel.org/tip/286bfaccea76e0bd3805ac6e77c8ec4a18ecb3fe
Author: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
AuthorDate: Mon, 10 Jun 2024 18:42:23 +02:00
Committer: Frederic Weisbecker <frederic@xxxxxxxxxx>
CommitterDate: Mon, 29 Jul 2024 21:57:34 +02:00

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@xxxxxxxxxxxxx>
Signed-off-by: Frederic Weisbecker <frederic@xxxxxxxxxx>
Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
---
kernel/time/posix-cpu-timers.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/kernel/time/posix-cpu-timers.c b/kernel/time/posix-cpu-timers.c
index b1a9a2f..eb28150 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;
}