[tip: timers/core] hrtimer: Remove hrtimer_get_expires_ns()

tip-bot2 for Thomas Weißschuh (Schneider Electric) posted 1 patch 3 weeks, 5 days ago
include/linux/hrtimer.h | 5 -----
1 file changed, 5 deletions(-)
[tip: timers/core] hrtimer: Remove hrtimer_get_expires_ns()
Posted by tip-bot2 for Thomas Weißschuh (Schneider Electric) 3 weeks, 5 days ago
The following commit has been merged into the timers/core branch of tip:

Commit-ID:     8ef2807042d0886a85bbcb0aba1a2a277680dc4a
Gitweb:        https://git.kernel.org/tip/8ef2807042d0886a85bbcb0aba1a2a277680dc4a
Author:        Thomas Weißschuh (Schneider Electric) <thomas.weissschuh@linutronix.de>
AuthorDate:    Wed, 11 Mar 2026 11:15:15 +01:00
Committer:     Thomas Gleixner <tglx@kernel.org>
CommitterDate: Thu, 12 Mar 2026 12:15:54 +01:00

hrtimer: Remove hrtimer_get_expires_ns()

There are no users left.

Signed-off-by: Thomas Weißschuh (Schneider Electric) <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260311-hrtimer-cleanups-v1-6-095357392669@linutronix.de
---
 include/linux/hrtimer.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h
index c087b71..9ced498 100644
--- a/include/linux/hrtimer.h
+++ b/include/linux/hrtimer.h
@@ -116,11 +116,6 @@ static inline ktime_t hrtimer_get_softexpires(const struct hrtimer *timer)
 	return timer->_softexpires;
 }
 
-static inline s64 hrtimer_get_expires_ns(const struct hrtimer *timer)
-{
-	return ktime_to_ns(timer->node.expires);
-}
-
 ktime_t hrtimer_cb_get_time(const struct hrtimer *timer);
 
 static inline ktime_t hrtimer_expires_remaining(const struct hrtimer *timer)