[patch V2 17/25] timekeeping: Remove ktime_get_snapshot()
From: Thomas Gleixner
Date: Fri May 29 2026 - 16:09:31 EST
From: Thomas Gleixner <tglx@xxxxxxxxxx>
All users have been converted to ktime_get_snapshot_id().
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>
Tested-by: David Woodhouse <dwmw@xxxxxxxxxxxx>
Tested-by: Arthur Kiyanovski <akiyano@xxxxxxxxxx>
Reviewed-by: David Woodhouse <dwmw@xxxxxxxxxxxx>
Reviewed-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
Reviewed-by: Jacob Keller <jacob.e.keller@xxxxxxxxx>
---
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
*/