Whamcloud - gitweb
LU-6245 libcfs: remove unused cfs_timer_done 17/13917/3
authorJames Simmons <uja.ornl@yahoo.com>
Mon, 10 Aug 2015 14:36:22 +0000 (10:36 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 18 Aug 2015 11:14:12 +0000 (11:14 +0000)
Remove the cfs_timer_done function in the libcfs
kernel module since it is not used anywhere.

Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Signed-off-by: frank zago <fzago@cray.com>
Change-Id: Ieb521b5b2ce4d3a66dfa0bafc3a866fc38fcd65f
Reviewed-on: http://review.whamcloud.com/13917
Tested-by: Jenkins
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
libcfs/include/libcfs/libcfs_prim.h
libcfs/libcfs/linux/linux-prim.c

index b82d45a..44cfdae 100644 (file)
@@ -49,7 +49,6 @@ typedef  void (cfs_timer_func_t)(ulong_ptr_t);
 
 void cfs_init_timer(struct timer_list *t);
 void cfs_timer_init(struct timer_list *t, cfs_timer_func_t *func, void *arg);
-void cfs_timer_done(struct timer_list *t);
 void cfs_timer_arm(struct timer_list *t, cfs_time_t deadline);
 void cfs_timer_disarm(struct timer_list *t);
 int  cfs_timer_is_armed(struct timer_list *t);
index 072f679..dd2ac35 100644 (file)
@@ -60,12 +60,6 @@ void cfs_timer_init(struct timer_list *t, cfs_timer_func_t *func, void *arg)
 }
 EXPORT_SYMBOL(cfs_timer_init);
 
-void cfs_timer_done(struct timer_list *t)
-{
-       return;
-}
-EXPORT_SYMBOL(cfs_timer_done);
-
 void cfs_timer_arm(struct timer_list *t, cfs_time_t deadline)
 {
        mod_timer(t, deadline);