[PATCH -next] hrtimer: Remove unused inline function debug_hrtimer_free()

From: YueHaibing
Date: Wed Sep 09 2020 - 11:48:51 EST


There is no caller in tree, so can remove it.

Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
---
kernel/time/hrtimer.c | 5 -----
1 file changed, 5 deletions(-)

diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c
index 95b6a708b040..75d0cc1a2081 100644
--- a/kernel/time/hrtimer.c
+++ b/kernel/time/hrtimer.c
@@ -425,11 +425,6 @@ static inline void debug_hrtimer_deactivate(struct hrtimer *timer)
debug_object_deactivate(timer, &hrtimer_debug_descr);
}

-static inline void debug_hrtimer_free(struct hrtimer *timer)
-{
- debug_object_free(timer, &hrtimer_debug_descr);
-}
-
static void __hrtimer_init(struct hrtimer *timer, clockid_t clock_id,
enum hrtimer_mode mode);

--
2.17.1