[tip: timers/urgent] hrtimer: Remove unused inline function debug_hrtimer_free()

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


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

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

hrtimer: Remove unused inline function debug_hrtimer_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/20200909134850.21940-1-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 3624b9b..387b4be 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);