aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/timekeeping32.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-12-07 13:45:54 +0100
committerArnd Bergmann <arnd@arndb.de>2018-12-18 16:13:05 +0100
commite4b92b108c6cd6b311e4b6e85d6a87a34599a6e3 (patch)
tree6231a8d494061f5a37b6765d61b21a56ed49d25c /include/linux/timekeeping32.h
parentvfs: replace current_kernel_time64 with ktime equivalent (diff)
downloadlinux-dev-e4b92b108c6cd6b311e4b6e85d6a87a34599a6e3.tar.xz
linux-dev-e4b92b108c6cd6b311e4b6e85d6a87a34599a6e3.zip
timekeeping: remove obsolete time accessors
There are no more remaining users of these deprecated wrappers, so let's remove them before new users have a chance to make it in. See Documentation/core-api/timekeeping.rst for replacements when porting old drivers that contain calls to this function. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'include/linux/timekeeping32.h')
-rw-r--r--include/linux/timekeeping32.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/timekeeping32.h b/include/linux/timekeeping32.h
index 0036ff314ac5..cc59cc9e0e84 100644
--- a/include/linux/timekeeping32.h
+++ b/include/linux/timekeeping32.h
@@ -6,15 +6,6 @@
* over time so we can remove the file here.
*/
-static inline void do_gettimeofday(struct timeval *tv)
-{
- struct timespec64 now;
-
- ktime_get_real_ts64(&now);
- tv->tv_sec = now.tv_sec;
- tv->tv_usec = now.tv_nsec/1000;
-}
-
static inline unsigned long get_seconds(void)
{
return ktime_get_real_seconds();