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 <[email protected]>
---
include/linux/timerqueue.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/include/linux/timerqueue.h b/include/linux/timerqueue.h
index 62973f7d4610..d306d9dd2207 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;
--
2.39.2
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 <[email protected]>
AuthorDate: Wed, 17 Apr 2024 16:02:29 +02:00
Committer: Thomas Gleixner <[email protected]>
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 <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
---
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;