Whamcloud - gitweb
LU-2158 lvfs: Remove ll_sleep from linux/lvfs.h
authorPrakash Surya <surya1@llnl.gov>
Wed, 19 Oct 2011 17:55:37 +0000 (10:55 -0700)
committerOleg Drokin <green@whamcloud.com>
Sat, 26 Jan 2013 03:27:32 +0000 (22:27 -0500)
The ll_sleep function was removed because it is not used anywhere.

Change-Id: Ic22552c69635f3da5b2cdd3dd67b9930d63a48d1
Signed-off-by: Prakash Surya <surya1@llnl.gov>
Reviewed-on: http://review.whamcloud.com/4861
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
lustre/include/linux/lvfs.h

index 2b83165..260cb9f 100644 (file)
@@ -137,12 +137,6 @@ static inline struct dentry *ll_lookup_one_len(const char *fid_name,
        return dchild;
 }
 
-static inline void ll_sleep(int t)
-{
-        cfs_set_current_state(CFS_TASK_INTERRUPTIBLE);
-        cfs_schedule_timeout(t * CFS_HZ);
-        cfs_set_current_state(CFS_TASK_RUNNING);
-}
 #endif
 
 #endif