Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9510a20 authored by Jan Kara's avatar Jan Kara Committed by Linus Torvalds
Browse files

ocfs2: remove pointless assignment from ocfs2_calc_refcount_meta_credits()



The assigned value is never used.

Coverity-id 1226847.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1dfeb768
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2428,8 +2428,6 @@ static int ocfs2_calc_refcount_meta_credits(struct super_block *sb,
			get_bh(prev_bh);
		}

		rb = (struct ocfs2_refcount_block *)ref_leaf_bh->b_data;

		trace_ocfs2_calc_refcount_meta_credits_iterate(
				recs_add, (unsigned long long)cpos, clusters,
				(unsigned long long)le64_to_cpu(rec.r_cpos),