time: Remove timekeeping_inject_sleeptime()
authorJohn Stultz <john.stultz@linaro.org>
Fri, 21 Nov 2014 05:19:15 +0000 (21:19 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Fri, 21 Nov 2014 20:00:01 +0000 (12:00 -0800)
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>
include/linux/timekeeping.h

index 8cab4b754be76be957968970ef11ad642a8f4247..961fea373f83e8ceb1ef0ec178b4fbe52f5de90f 100644 (file)
@@ -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
  */