aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/include
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-12 00:38:48 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-12 00:38:48 -0700
commit7264b8a5db30b717b39394234fd3bb7dabdbda92 (patch)
treedf8886d843d51454fa514978ae9b2a636f46c0d1 /drivers/staging/lustre/include
parentstaging: lustre: remove cfs_time_beforeq wrapper (diff)
downloadlinux-dev-7264b8a5db30b717b39394234fd3bb7dabdbda92.tar.xz
linux-dev-7264b8a5db30b717b39394234fd3bb7dabdbda92.zip
staging: lustre: remove cfs_time_current_sec wrapper
Just call get_seconds() directly. Cc: Andreas Dilger <andreas.dilger@intel.com> Cc: Oleg Drokin <oleg.drokin@intel.com> Cc: hpdd-discuss <hpdd-discuss@lists.01.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/include')
-rw-r--r--drivers/staging/lustre/include/linux/libcfs/linux/linux-time.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/linux/linux-time.h b/drivers/staging/lustre/include/linux/libcfs/linux/linux-time.h
index 96a99b1713b3..0768ecb13f88 100644
--- a/drivers/staging/lustre/include/linux/libcfs/linux/linux-time.h
+++ b/drivers/staging/lustre/include/linux/libcfs/linux/linux-time.h
@@ -119,11 +119,6 @@ static inline unsigned long cfs_time_current(void)
return jiffies;
}
-static inline time_t cfs_time_current_sec(void)
-{
- return get_seconds();
-}
-
static inline void cfs_fs_time_current(struct timespec *t)
{
*t = CURRENT_TIME;