Skip to content

Commit e195605

Browse files
Li zemingDarrick J. Wong
authored andcommitted
xfs: xfs_qm: remove unnecessary ‘0’ values from error
error is assigned first, so it does not need to initialize the assignment. Signed-off-by: Li zeming <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
1 parent 4da1125 commit e195605

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/xfs/xfs_qm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ xfs_qm_dquot_walk(
6868

6969
while (1) {
7070
struct xfs_dquot *batch[XFS_DQ_LOOKUP_BATCH];
71-
int error = 0;
71+
int error;
7272
int i;
7373

7474
mutex_lock(&qi->qi_tree_lock);

0 commit comments

Comments
 (0)