Skip to contentSkip to conversation

hrtimer: Remove unused inline function debug_hrtimer_free()

PATCH Applied YueHaibing 2 participants 2 messages Sep 9, 2020 – Oct 26, 2020 High-resolution timers, timer wheel, clockevents

lore
Share & tools
lore

YueHaibing

author
#0 lore raw

PATCH 1/1 hrtimer: Remove unused inline function debug_hrtimer_free()

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

---
 kernel/time/hrtimer.c | 5 -----
 1 file changed, 5 deletions(-)
kernel/time/hrtimer.c +0 -5
index 95b6a708b040..75d0cc1a2081 100644
@@ -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);
 
Signature · 1 line
2.17.1
merge bot Applied
#1 lore raw
The following commit has been merged into the timers/urgent branch of tip:

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 <[email protected]>
AuthorDate:    Wed, 09 Sep 2020 21:48:50 +08:00
Committer:     Thomas Gleixner <[email protected]>
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.

---
 kernel/time/hrtimer.c | 5 -----
 1 file changed, 5 deletions(-)
kernel/time/hrtimer.c +0 -5
index 3624b9b..387b4be 100644
@@ -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);