aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/timekeeping.h
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2014-11-20 21:19:15 -0800
committerJohn Stultz <john.stultz@linaro.org>2014-11-21 12:00:01 -0800
commit21b6c0512e8aca75ce76365e1aef9fb16e007100 (patch)
tree713cec144bcf793cf2564b011a989d6c0fd0e2dd /include/linux/timekeeping.h
parentrtc: Update suspend/resume timing to use 64bit time (diff)
downloadlinux-dev-21b6c0512e8aca75ce76365e1aef9fb16e007100.tar.xz
linux-dev-21b6c0512e8aca75ce76365e1aef9fb16e007100.zip
time: Remove timekeeping_inject_sleeptime()
Since all users have been converted to using the 64bit timekeeping_inject_sleeptime64(), remove the old y2038 problematic timekeeping_inject_sleeptime(). Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'include/linux/timekeeping.h')
-rw-r--r--include/linux/timekeeping.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/timekeeping.h b/include/linux/timekeeping.h
index 8cab4b754be7..961fea373f83 100644
--- a/include/linux/timekeeping.h
+++ b/include/linux/timekeeping.h
@@ -225,17 +225,6 @@ static inline void timekeeping_clocktai(struct timespec *ts)
*/
extern void timekeeping_inject_sleeptime64(struct timespec64 *delta);
-/**
- * Deprecated. Use timekeeping_inject_sleeptime64().
- */
-static inline void timekeeping_inject_sleeptime(struct timespec *delta)
-{
- struct timespec64 delta64;
-
- delta64 = timespec_to_timespec64(*delta);
- timekeeping_inject_sleeptime64(&delta64);
-}
-
/*
* PPS accessor
*/