[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20230801023201.2915257-1-liaoyu15@huawei.com>
Date: Tue, 1 Aug 2023 10:32:01 +0800
From: Yu Liao <liaoyu15@...wei.com>
To: <tglx@...utronix.de>
CC: <liaoyu15@...wei.com>, <linux-kernel@...r.kernel.org>,
<liwei391@...wei.com>
Subject: [PATCH -next] timer: Replace del_timer() in comments
Adjust del_timer() to the new preferred function name timer_delete().
Signed-off-by: Yu Liao <liaoyu15@...wei.com>
---
kernel/time/timer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/time/timer.c b/kernel/time/timer.c
index 63a8ce7177dd..4864fc4c7b91 100644
--- a/kernel/time/timer.c
+++ b/kernel/time/timer.c
@@ -1165,10 +1165,10 @@ EXPORT_SYMBOL(mod_timer_pending);
*
* mod_timer(timer, expires) is equivalent to:
*
- * del_timer(timer); timer->expires = expires; add_timer(timer);
+ * timer_delete(timer); timer->expires = expires; add_timer(timer);
*
* mod_timer() is more efficient than the above open coded sequence. In
- * case that the timer is inactive, the del_timer() part is a NOP. The
+ * case that the timer is inactive, the timer_delete() part is a NOP. The
* timer is in any case activated with the new expiry time @expires.
*
* Note that if there are multiple unserialized concurrent users of the
--
2.25.1
Powered by blists - more mailing lists