Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit e84c600

Browse files
anna-marialxKAGA-KOKO
authored andcommitted
timerqueue: Remove never used function timerqueue_node_expires()
This function was introduced with commit 60bda03 ("posix-cpu-timers: Utilize timerqueue for storage") but never used. Remove it. Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20240417140229.19633-1-anna-maria@linutronix.de
1 parent 48b7f4d commit e84c600

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

include/linux/timerqueue.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@ static inline bool timerqueue_node_queued(struct timerqueue_node *node)
3737
return !RB_EMPTY_NODE(&node->node);
3838
}
3939

40-
static inline bool timerqueue_node_expires(struct timerqueue_node *node)
41-
{
42-
return node->expires;
43-
}
44-
4540
static inline void timerqueue_init_head(struct timerqueue_head *head)
4641
{
4742
head->rb_root = RB_ROOT_CACHED;

0 commit comments

Comments
 (0)