From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f67.google.com ([209.85.220.67]:34266 "EHLO mail-pa0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752049AbcFYVit (ORCPT ); Sat, 25 Jun 2016 17:38:49 -0400 From: Deepa Dinamani To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, tglx@linutronix.de, torvalds@linux-foundation.org, tytso@mit.edu, viro@zeniv.linux.org.uk, y2038@lists.linaro.org, John Stultz Subject: [PATCH v3 24/24] time: Delete CURRENT_TIME_SEC Date: Sat, 25 Jun 2016 14:37:48 -0700 Message-Id: <1466890668-23400-25-git-send-email-deepa.kernel@gmail.com> In-Reply-To: <1466890668-23400-1-git-send-email-deepa.kernel@gmail.com> References: <1466890668-23400-1-git-send-email-deepa.kernel@gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: All uses of CURRENT_TIME_SEC macro have been replaced by other time functions. This macro is also not y2038 safe. And, all its use cases can be fulfilled by y2038 safe ktime_get_* variants. Signed-off-by: Deepa Dinamani Cc: John Stultz Cc: Thomas Gleixner Acked-by: John Stultz --- include/linux/time.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/time.h b/include/linux/time.h index 4cea09d..9c3f345 100644 --- a/include/linux/time.h +++ b/include/linux/time.h @@ -152,7 +152,6 @@ static inline bool timespec_inject_offset_valid(const struct timespec *ts) } #define CURRENT_TIME (current_kernel_time()) -#define CURRENT_TIME_SEC ((struct timespec) { get_seconds(), 0 }) /* Some architectures do not supply their own clocksource. * This is mainly the case in architectures that get their -- 1.9.1