[tip: timers/core] timerqueue: Remove never used function timerqueue_node_expires()
From: tip-bot2 for Anna-Maria Behnsen
Date: Mon Apr 22 2024 - 10:23:56 EST
The following commit has been merged into the timers/core branch of tip:
Commit-ID: e84c60032a39e3267f0b46175d5368da33e214a6
Gitweb: https://git.kernel.org/tip/e84c60032a39e3267f0b46175d5368da33e214a6
Author: Anna-Maria Behnsen <anna-maria@xxxxxxxxxxxxx>
AuthorDate: Wed, 17 Apr 2024 16:02:29 +02:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitterDate: Mon, 22 Apr 2024 16:13:06 +02:00
timerqueue: Remove never used function timerqueue_node_expires()
This function was introduced with commit 60bda037f1dd ("posix-cpu-timers:
Utilize timerqueue for storage") but never used. Remove it.
Signed-off-by: Anna-Maria Behnsen <anna-maria@xxxxxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Link: https://lore.kernel.org/r/20240417140229.19633-1-anna-maria@xxxxxxxxxxxxx
---
include/linux/timerqueue.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/include/linux/timerqueue.h b/include/linux/timerqueue.h
index 62973f7..d306d9d 100644
--- a/include/linux/timerqueue.h
+++ b/include/linux/timerqueue.h
@@ -37,11 +37,6 @@ static inline bool timerqueue_node_queued(struct timerqueue_node *node)
return !RB_EMPTY_NODE(&node->node);
}
-static inline bool timerqueue_node_expires(struct timerqueue_node *node)
-{
- return node->expires;
-}
-
static inline void timerqueue_init_head(struct timerqueue_head *head)
{
head->rb_root = RB_ROOT_CACHED;