[PATCH -next] timer: Replace del_timer() in comments

Yu Liao posted 1 patch 2 years, 6 months ago
kernel/time/timer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH -next] timer: Replace del_timer() in comments
Posted by Yu Liao 2 years, 6 months ago
Adjust del_timer() to the new preferred function name timer_delete().

Signed-off-by: Yu Liao <liaoyu15@huawei.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