diff options
author | 2013-07-24 10:11:47 -0700 | |
---|---|---|
committer | 2013-07-24 10:11:47 -0700 | |
commit | 0f1c743b992908ac2a31c7fec0e0fcac003deee5 (patch) | |
tree | 47c31579792abf4746335131511af96cb6fffb45 /drivers/staging/lustre/include/linux/libcfs/libcfs_private.h | |
parent | staging: lustre: remove [f]printf() macros that aren't being used (diff) | |
download | linux-0f1c743b992908ac2a31c7fec0e0fcac003deee5.tar.gz linux-0f1c743b992908ac2a31c7fec0e0fcac003deee5.tar.bz2 linux-0f1c743b992908ac2a31c7fec0e0fcac003deee5.zip |
staging: lustre: don't use time() or CFS_CURRENT_TIME
It's just "CURRENT_TIME", don't redefine a macro for something so simple
as that...
Cc: Peng Tao <tao.peng@emc.com>
Cc: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/include/linux/libcfs/libcfs_private.h')
-rw-r--r-- | drivers/staging/lustre/include/linux/libcfs/libcfs_private.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h index 62ef8a749002..b033aa499def 100644 --- a/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h +++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h @@ -455,10 +455,6 @@ int cfs_match_nid(lnet_nid_t nid, struct list_head *list); /* logical equivalence */ #define equi(a, b) (!!(a) == !!(b)) -#ifndef CFS_CURRENT_TIME -# define CFS_CURRENT_TIME time(0) -#endif - /* -------------------------------------------------------------------- * Light-weight trace * Support for temporary event tracing with minimal Heisenberg effect. |