mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
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
This commit is contained in:
parent
7864930968
commit
b21d442c9a
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user