Skip to content

Commit 36a7409

Browse files
AstralBobAndreas Gruenbacher
authored andcommitted
gfs2: Remove useless assignment
This assignment is unnecessary because if error was not already 0, it would have branched to an error label already. Signed-off-by: Bob Peterson <[email protected]> Signed-off-by: Andreas Gruenbacher <[email protected]>
1 parent 9ab7b78 commit 36a7409

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fs/gfs2/quota.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -971,8 +971,6 @@ static int do_sync(unsigned int num_qd, struct gfs2_quota_data **qda)
971971
set_bit(QDF_REFRESH, &qd->qd_flags);
972972
}
973973

974-
error = 0;
975-
976974
out_end_trans:
977975
gfs2_trans_end(sdp);
978976
out_ipres:

0 commit comments

Comments
 (0)