summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-09-09 15:47:49 +0200
committerThomas Gleixner <tglx@linutronix.de>2020-10-26 11:39:21 +0100
commit9010e3876e1c3f7b1c3769bee519d6a871589aca (patch)
tree199b5c08e79814d69a6b186907f83c63120c2277
parenthrtimer: Remove unused inline function debug_hrtimer_free() (diff)
downloadlinux-9010e3876e1c3f7b1c3769bee519d6a871589aca.tar.xz
linux-9010e3876e1c3f7b1c3769bee519d6a871589aca.zip
timers: Remove unused inline funtion debug_timer_free()
There is no caller in tree, remove it. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20200909134749.32300-1-yuehaibing@huawei.com
-rw-r--r--kernel/time/timer.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/time/timer.c b/kernel/time/timer.c
index de37e33a868d..c3ad64fb9d8b 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);