[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 9 Sep 2020 21:48:50 +0800
From: YueHaibing <yuehaibing@...wei.com>
To: <tglx@...utronix.de>
CC: <linux-kernel@...r.kernel.org>, YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH -next] hrtimer: Remove unused inline function debug_hrtimer_free()
There is no caller in tree, so can remove it.
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
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
Powered by blists - more mailing lists