projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cd2bb1
)
hrtimer: Remove unused inline function debug_hrtimer_free()
author
YueHaibing
<yuehaibing@huawei.com>
Wed, 9 Sep 2020 13:48:50 +0000
(21:48 +0800)
committer
Thomas Gleixner
<tglx@linutronix.de>
Mon, 26 Oct 2020 10:39:21 +0000
(11:39 +0100)
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
kernel/time/hrtimer.c
patch
|
blob
|
history
diff --git
a/kernel/time/hrtimer.c
b/kernel/time/hrtimer.c
index
3624b9b
..
387b4be
100644
(file)
--- 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);