timekeeping: Remove unused get_seconds()
The get_seconds() cleanup seems to have been completed, now it is time to delete the legacy interface to avoid misuse later. Signed-off-by: Chunguang Xu <brookxu@tencent.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/1606816351-26900-1-git-send-email-brookxu@tencent.com
This commit is contained in:
committed by
Thomas Gleixner
parent
7c53f6b671
commit
aba428a0c6
@@ -991,8 +991,7 @@ EXPORT_SYMBOL_GPL(ktime_get_seconds);
|
||||
/**
|
||||
* ktime_get_real_seconds - Get the seconds portion of CLOCK_REALTIME
|
||||
*
|
||||
* Returns the wall clock seconds since 1970. This replaces the
|
||||
* get_seconds() interface which is not y2038 safe on 32bit systems.
|
||||
* Returns the wall clock seconds since 1970.
|
||||
*
|
||||
* For 64bit systems the fast access to tk->xtime_sec is preserved. On
|
||||
* 32bit systems the access must be protected with the sequence
|
||||
|
||||
Reference in New Issue
Block a user