summaryrefslogtreecommitdiff
path: root/include/linux/timekeeping32.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-12-07 15:45:54 +0300
committerArnd Bergmann <arnd@arndb.de>2018-12-18 18:13:05 +0300
commite4b92b108c6cd6b311e4b6e85d6a87a34599a6e3 (patch)
tree6231a8d494061f5a37b6765d61b21a56ed49d25c /include/linux/timekeeping32.h
parentd651d1607f22fd0cd249cb045627569f8028092b (diff)
downloadlinux-e4b92b108c6cd6b311e4b6e85d6a87a34599a6e3.tar.xz
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();