summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorChunguang Xu <brookxu@tencent.com>2020-12-01 17:52:31 +0800
committerThomas Gleixner <tglx@linutronix.de>2021-01-12 21:13:01 +0100
commitaba428a0c612bb259891307da12e22efd0fab14c (patch)
tree6bd9607e2ccd6a7e1ff0ae9796e5c1a104b724da /kernel
parent7c53f6b671f4aba70ff15e1b05148b10d58c2837 (diff)
downloadlinux-aba428a0c612bb259891307da12e22efd0fab14c.tar.bz2
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
Diffstat (limited to 'kernel')
-rw-r--r--kernel/time/timekeeping.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
index a45cedda93a7..6aee5768c86f 100644
--- a/kernel/time/timekeeping.c
+++ b/kernel/time/timekeeping.c
@@ -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