[RFC 14/15] vfs: Remove inode_timespec aliases

Deepa Dinamani
2016-01-07T05:38:21Z

Now that CONFIG_FS_USES_64BIT_TIME is enabled, the aliases
for inode_timespec are no longer used and can be removed.

Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
---
include/linux/time64.h | 21 ---------------------
1 file changed, 21 deletions(-)

diff --git a/include/linux/time64.h b/include/linux/time64.h
index eb3cdc0..f30c910 100644
--- a/include/linux/time64.h
+++ b/include/linux/time64.h
@@ -26,27 +26,6 @@ struct itimerspec64 {

#endif

-#ifdef CONFIG_FS_USES_64BIT_TIME
-
-/* Place holder defines until CONFIG_FS_USES_64BIT_TIME
- * is enabled.
- * timespec64 data type and functions will be used at that
- * time directly and these defines will be deleted.
- */
-#define inode_timespec timespec64
-
-#define inode_timespec_compare timespec64_compare
-#define inode_timespec_equal timespec64_equal
-
-#else
-
-#define inode_timespec timespec
-
-#define inode_timespec_compare timespec_compare
-#define inode_timespec_equal timespec_equal
-
-#endif
-
#define CURRENT_TIME64 (current_kernel_time64())
#define CURRENT_TIME64_SEC \
((struct timespec64) { ktime_get_real_seconds(), 0 })
--
1.9.1