From: John Stultz Date: Fri, 21 Nov 2014 05:19:15 +0000 (-0800) Subject: time: Remove timekeeping_inject_sleeptime() X-Git-Tag: Ubuntu-snapdragon-4.4.0-1050.54~9161^2~2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=21b6c0512e8aca75ce76365e1aef9fb16e007100;p=mirror_ubuntu-artful-kernel.git 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 --- 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 */