Whamcloud - gitweb
LU-2212 crypto: add crc32c module loading to libcfs
[fs/lustre-release.git] / lustre / obdclass / lprocfs_jobstats.c
index 16fbcef..ec955a2 100644 (file)
@@ -19,7 +19,7 @@
  * GPL HEADER END
  */
 /*
- * Copyright (c) 2011, 2012, Intel Corporation.
+ * Copyright (c) 2012, 2013, Intel Corporation.
  * Use is subject to license terms.
  *
  * Author: Niu Yawei <niu@whamcloud.com>
@@ -369,7 +369,6 @@ static int lprocfs_jobstats_seq_show(struct seq_file *p, void *v)
        struct job_stat                 *job = v;
        struct lprocfs_stats            *s;
        struct lprocfs_counter          ret;
-       struct lprocfs_counter          *cntr;
        struct lprocfs_counter_header   *cntr_header;
        int                             i;
 
@@ -383,7 +382,6 @@ static int lprocfs_jobstats_seq_show(struct seq_file *p, void *v)
 
        s = job->js_stats;
        for (i = 0; i < s->ls_num; i++) {
-               cntr = lprocfs_stats_counter_get(s, 0, i);
                cntr_header = &s->ls_cnt_header[i];
                lprocfs_stats_collect(s, i, &ret);