summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@kernel.org>2026-05-29 22:00:56 +0200
committerThomas Gleixner <tglx@kernel.org>2026-06-04 11:04:17 +0200
commitb21d442c9aebe5ed95303883d3365e430e134cf1 (patch)
treed71fc0082d5ed38ddfc2ea35b240c234a1c5bfec /include/linux
parent786493096848006020d7b8e57a53742a64fe5d4d (diff)
downloadlwn-b21d442c9aebe5ed95303883d3365e430e134cf1.tar.gz
lwn-b21d442c9aebe5ed95303883d3365e430e134cf1.zip
timekeeping: Remove ktime_get_snapshot()
All users have been converted to ktime_get_snapshot_id(). Signed-off-by: Thomas Gleixner <tglx@kernel.org> Tested-by: David Woodhouse <dwmw@amazon.co.uk> Tested-by: Arthur Kiyanovski <akiyano@amazon.com> Reviewed-by: David Woodhouse <dwmw@amazon.co.uk> Reviewed-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Link: https://patch.msgid.link/20260529195557.795510496@kernel.org
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/timekeeping.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/timekeeping.h b/include/linux/timekeeping.h
index fff6d9e319c4..2d9860ecb285 100644
--- 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
*/