From: Jan Kara Date: Tue, 10 Feb 2015 22:09:07 +0000 (-0800) Subject: ocfs2: remove pointless assignment from ocfs2_calc_refcount_meta_credits() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d9510a20f81467b48cd005e86e17b5288990bc71;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ocfs2: remove pointless assignment from ocfs2_calc_refcount_meta_credits() The assigned value is never used. Coverity-id 1226847. Signed-off-by: Jan Kara Cc: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/ocfs2/refcounttree.c b/fs/ocfs2/refcounttree.c index d81f6e2a97f5..ee541f92dab4 100644 --- a/fs/ocfs2/refcounttree.c +++ b/fs/ocfs2/refcounttree.c @@ -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),