time: delete CURRENT_TIME_SEC and CURRENT_TIME
PATCH 100/114 time: delete CURRENT_TIME_SEC and CURRENT_TIME
From: Deepa Dinamani <[email protected]>
Subject: time: delete CURRENT_TIME_SEC and CURRENT_TIME
All uses of CURRENT_TIME_SEC and CURRENT_TIME macros have been replaced by other time functions. These macros are also not y2038 safe. And, all their use cases can be fulfilled by y2038 safe ktime_get_* variants.
Signed-off-by Deepa Dinamani <[email protected]>
Reviewed-by Arnd Bergmann <[email protected]>
Acked-by John Stultz <[email protected]>
Cc Thomas Gleixner <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
include/linux/time.h | 3 --- 1 file changed, 3 deletions(-)
include/linux/time.h renamed from include/linux/time.h~time-delete-current_time_sec-and-current_time +0 -2
@@ -151,9 +151,6 @@ static inline bool timespec_inject_offsereturn true; } -#define CURRENT_TIME (current_kernel_time()) -#define CURRENT_TIME_SEC ((struct timespec) { get_seconds(), 0 })