]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
alarmtimer: Remove stale return description from alarm_handle_timer()
authorZhan Xusheng <zhanxusheng1024@gmail.com>
Wed, 29 Apr 2026 08:06:35 +0000 (16:06 +0800)
committerThomas Gleixner <tglx@kernel.org>
Wed, 6 May 2026 06:33:08 +0000 (08:33 +0200)
alarm_handle_timer() was converted from returning enum alarmtimer_restart
to void, but the kernel-doc "Return:" line was not removed. Remove the
stale description.

Fixes: 2634303f8773 ("alarmtimers: Remove return value from alarm functions")
Signed-off-by: Zhan Xusheng <zhanxusheng@xiaomi.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260429080635.166790-1-zhanxusheng@xiaomi.com
kernel/time/alarmtimer.c

index 9275fe4cdc1b47ce455b1031b593aa3d8da764a9..ea5be5870e515b015cc68e7f6cc039b89bfb7805 100644 (file)
@@ -496,8 +496,6 @@ static enum alarmtimer_type clock2alarm(clockid_t clockid)
  * @now: time at the timer expiration
  *
  * Posix timer callback for expired alarm timers.
- *
- * Return: whether the timer is to be restarted
  */
 static void alarm_handle_timer(struct alarm *alarm, ktime_t now)
 {