[tip: timers/urgent] timers: Remove unused inline funtion debug_timer_free()

From: tip-bot2 for YueHaibing
Date: Mon Oct 26 2020 - 06:40:27 EST


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

Commit-ID: 9010e3876e1c3f7b1c3769bee519d6a871589aca
Gitweb: https://git.kernel.org/tip/9010e3876e1c3f7b1c3769bee519d6a871589aca
Author: YueHaibing <yuehaibing@xxxxxxxxxx>
AuthorDate: Wed, 09 Sep 2020 21:47:49 +08:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitterDate: Mon, 26 Oct 2020 11:39:21 +01:00

timers: Remove unused inline funtion debug_timer_free()

There is no caller in tree, remove it.

Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Link: https://lore.kernel.org/r/20200909134749.32300-1-yuehaibing@xxxxxxxxxx

---
kernel/time/timer.c | 5 -----
1 file changed, 5 deletions(-)

diff --git a/kernel/time/timer.c b/kernel/time/timer.c
index de37e33..c3ad64f 100644
--- a/kernel/time/timer.c
+++ b/kernel/time/timer.c
@@ -732,11 +732,6 @@ static inline void debug_timer_deactivate(struct timer_list *timer)
debug_object_deactivate(timer, &timer_debug_descr);
}

-static inline void debug_timer_free(struct timer_list *timer)
-{
- debug_object_free(timer, &timer_debug_descr);
-}
-
static inline void debug_timer_assert_init(struct timer_list *timer)
{
debug_object_assert_init(timer, &timer_debug_descr);