staging/lustre/libcfs: Remove unused cfs_tcd_owns_tage() function
authorOleg Drokin <green@linuxhacker.ru>
Tue, 16 Feb 2016 05:47:06 +0000 (00:47 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 22:33:11 +0000 (14:33 -0800)
Does not appear to be used anywhere.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/linux/linux-tracefile.c
drivers/staging/lustre/lustre/libcfs/tracefile.h

index 5e3c40010ef6c4ce00fe88e416621be35308874c..6cff79d53ffa3f5de13881b8d5ae19410a8d37d8 100644 (file)
@@ -176,16 +176,6 @@ void cfs_trace_unlock_tcd(struct cfs_trace_cpu_data *tcd, int walking)
                spin_unlock(&tcd->tcd_lock);
 }
 
-int cfs_tcd_owns_tage(struct cfs_trace_cpu_data *tcd,
-                     struct cfs_trace_page *tage)
-{
-       /*
-        * XXX nikita: do NOT call portals_debug_msg() (CDEBUG/ENTRY/EXIT)
-        * from here: this will lead to infinite recursion.
-        */
-       return tcd->tcd_cpu == tage->cpu;
-}
-
 void
 cfs_set_ptldebug_header(struct ptldebug_header *header,
                        struct libcfs_debug_msg_data *msgdata,
index 228574437a41528774403fe57db47a9d47fa6055..0995da164ed5484f750bfc8aa748516919b25c0e 100644 (file)
@@ -289,9 +289,6 @@ static inline void cfs_trace_put_tcd(struct cfs_trace_cpu_data *tcd)
 int cfs_trace_refill_stock(struct cfs_trace_cpu_data *tcd, gfp_t gfp,
                           struct list_head *stock);
 
-int cfs_tcd_owns_tage(struct cfs_trace_cpu_data *tcd,
-                     struct cfs_trace_page *tage);
-
 void cfs_trace_assertion_failed(const char *str,
                                struct libcfs_debug_msg_data *m);
 
This page took 0.040657 seconds and 5 git commands to generate.