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

From: Thomas Gleixner <[email-masked]>
Date: Fri, 29 May 2026 22:00:56 +0200

From: Thomas Gleixner <[email-masked]>

All users have been converted to ktime_get_snapshot_id().

Signed-off-by: Thomas Gleixner <[email-masked]>
Tested-by: David Woodhouse <[email-masked]>
Tested-by: Arthur Kiyanovski <[email-masked]>
Reviewed-by: David Woodhouse <[email-masked]>
Reviewed-by: Thomas Weißschuh <[email-masked]>
Reviewed-by: Jacob Keller <[email-masked]>
---
 include/linux/timekeeping.h |    5 -----
 1 file changed, 5 deletions(-)
--- a/include/linux/timekeeping.h
+++ b/include/linux/timekeeping.h
@@ -350,11 +350,6 @@ extern int get_device_system_crosststamp
  */
 extern void ktime_get_snapshot_id(clockid_t clock_id, struct system_time_snapshot *systime_snapshot);
 
-static inline void ktime_get_snapshot(struct system_time_snapshot *systime_snapshot)
-{
-	ktime_get_snapshot_id(CLOCK_REALTIME, systime_snapshot);
-}
-
 /*
  * Persistent clock related interfaces
  */