From: Thomas Weißschuh (Schneider Electric) Date: Wed, 11 Mar 2026 10:15:15 +0000 (+0100) Subject: hrtimer: Remove hrtimer_get_expires_ns() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ef2807042d0886a85bbcb0aba1a2a277680dc4a;p=thirdparty%2Fkernel%2Flinux.git hrtimer: Remove hrtimer_get_expires_ns() There are no users left. Signed-off-by: Thomas Weißschuh (Schneider Electric) Signed-off-by: Thomas Gleixner Link: https://patch.msgid.link/20260311-hrtimer-cleanups-v1-6-095357392669@linutronix.de --- diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h index c087b7142330e..9ced498fefaa2 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)