summaryrefslogtreecommitdiff
path: root/include/linux
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 /include/linux
parent7c53f6b671f4aba70ff15e1b05148b10d58c2837 (diff)
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 'include/linux')
-rw-r--r--include/linux/ktime.h1
-rw-r--r--include/linux/timekeeping32.h14
2 files changed, 0 insertions, 15 deletions
diff --git a/include/linux/ktime.h b/include/linux/ktime.h
index a12b5523cc18..73f20deb497d 100644
--- a/include/linux/ktime.h
+++ b/include/linux/ktime.h
@@ -230,6 +230,5 @@ static inline ktime_t ms_to_ktime(u64 ms)
}
# include <linux/timekeeping.h>
-# include <linux/timekeeping32.h>
#endif
diff --git a/include/linux/timekeeping32.h b/include/linux/timekeeping32.h
deleted file mode 100644
index 266017fc9ee9..000000000000
--- a/include/linux/timekeeping32.h
+++ /dev/null
@@ -1,14 +0,0 @@
-#ifndef _LINUX_TIMEKEEPING32_H
-#define _LINUX_TIMEKEEPING32_H
-/*
- * These interfaces are all based on the old timespec type
- * and should get replaced with the timespec64 based versions
- * over time so we can remove the file here.
- */
-
-static inline unsigned long get_seconds(void)
-{
- return ktime_get_real_seconds();
-}
-
-#endif