ocfs2: remove pointless assignment from ocfs2_calc_refcount_meta_credits()

The assigned value is never used.

Coverity-id 1226847.

Signed-off-by: Jan Kara <jack@suse.cz>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Jan Kara 2015-02-10 14:09:07 -08:00 committed by Linus Torvalds
parent 1dfeb76847
commit d9510a20f8

View File

@ -2428,8 +2428,6 @@ static int ocfs2_calc_refcount_meta_credits(struct super_block *sb,
get_bh(prev_bh); get_bh(prev_bh);
} }
rb = (struct ocfs2_refcount_block *)ref_leaf_bh->b_data;
trace_ocfs2_calc_refcount_meta_credits_iterate( trace_ocfs2_calc_refcount_meta_credits_iterate(
recs_add, (unsigned long long)cpos, clusters, recs_add, (unsigned long long)cpos, clusters,
(unsigned long long)le64_to_cpu(rec.r_cpos), (unsigned long long)le64_to_cpu(rec.r_cpos),