Commit e195605e authored by Li zeming's avatar Li zeming Committed by Darrick J. Wong

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: default avatarLi zeming <zeming@nfschina.com>
Reviewed-by: default avatarDarrick J. Wong <djwong@kernel.org>
Signed-off-by: default avatarDarrick J. Wong <djwong@kernel.org>
parent 4da11251
...@@ -68,7 +68,7 @@ xfs_qm_dquot_walk( ...@@ -68,7 +68,7 @@ xfs_qm_dquot_walk(
while (1) { while (1) {
struct xfs_dquot *batch[XFS_DQ_LOOKUP_BATCH]; struct xfs_dquot *batch[XFS_DQ_LOOKUP_BATCH];
int error = 0; int error;
int i; int i;
mutex_lock(&qi->qi_tree_lock); mutex_lock(&qi->qi_tree_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment