提交 21b6c051 编写于 作者: J John Stultz

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: NJohn Stultz <john.stultz@linaro.org>
上级 d4bda8f8
...@@ -225,17 +225,6 @@ static inline void timekeeping_clocktai(struct timespec *ts) ...@@ -225,17 +225,6 @@ static inline void timekeeping_clocktai(struct timespec *ts)
*/ */
extern void timekeeping_inject_sleeptime64(struct timespec64 *delta); 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 * PPS accessor
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册