summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-09-09 21:48:50 +0800
committerThomas Gleixner <tglx@linutronix.de>2020-10-26 11:39:21 +0100
commit5254cb87c0423f73c8036235795788a132e8956e (patch)
treee5b03b82a715e68d97813542e87d42fe97b82356 /kernel
parent4cd2bb12981165f865d2b8ed92b446b52310ef74 (diff)
downloadlinux-stable-5254cb87c0423f73c8036235795788a132e8956e.tar.gz
linux-stable-5254cb87c0423f73c8036235795788a132e8956e.tar.bz2
linux-stable-5254cb87c0423f73c8036235795788a132e8956e.zip
hrtimer: Remove unused inline function debug_hrtimer_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/20200909134850.21940-1-yuehaibing@huawei.com
Diffstat (limited to 'kernel')
-rw-r--r--kernel/time/hrtimer.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c
index 3624b9b5835d..387b4bef7dd1 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);