Subject: [patch 17/24] timekeeping: Remove ktime_get_snapshot()

From: Thomas Gleixner <[email-masked]>
Date: Tue, 26 May 2026 19:14:52 +0200

All users have been converted to ktime_get_snapshot_id().

Signed-off-by: Thomas Gleixner <[email-masked]>
---
 include/linux/timekeeping.h |    5 -----
 1 file changed, 5 deletions(-)

--- a/include/linux/timekeeping.h
+++ b/include/linux/timekeeping.h
@@ -351,11 +351,6 @@ extern int get_device_system_crosststamp
 extern bool ktime_get_snapshot_id(struct system_time_snapshot *systime_snapshot,
 				  clockid_t clock_id);
 
-static inline void ktime_get_snapshot(struct system_time_snapshot *systime_snapshot)
-{
-	WARN_ON_ONCE(!ktime_get_snapshot_id(systime_snapshot, CLOCK_REALTIME));
-}
-
 /*
  * Persistent clock related interfaces
  */