* 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>
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;
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);