Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752221AbaKUTo4 (ORCPT ); Fri, 21 Nov 2014 14:44:56 -0500 Received: from mail-pa0-f54.google.com ([209.85.220.54]:63807 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752179AbaKUTos (ORCPT ); Fri, 21 Nov 2014 14:44:48 -0500 From: John Stultz To: lkml Cc: John Stultz , Thomas Gleixner , Ingo Molnar , Arnd Bergmann , "pang.xunlei" , Miroslav Lichvar , Richard Cochran , Prarit Bhargava , Alessandro Zummo Subject: [PATCH 12/12] time: Remove timekeeping_inject_sleeptime() Date: Fri, 21 Nov 2014 11:44:18 -0800 Message-Id: <1416599058-13836-13-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1416599058-13836-1-git-send-email-john.stultz@linaro.org> References: <1416599058-13836-1-git-send-email-john.stultz@linaro.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since all users have been converted to using the 64bit timekeeping_inject_sleeptime64(), remove the old y2038 problematic timekeeping_inject_sleeptime(). Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Arnd Bergmann Cc: pang.xunlei Cc: Miroslav Lichvar Cc: Richard Cochran Cc: Prarit Bhargava Cc: Alessandro Zummo Signed-off-by: John Stultz --- include/linux/timekeeping.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/include/linux/timekeeping.h b/include/linux/timekeeping.h index 8cab4b7..961fea3 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 */ -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/