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 <zeming@nfschina.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
This commit is contained in:
Li zeming 2023-01-03 09:54:28 -08:00 committed by Darrick J. Wong
parent 4da112513c
commit e195605ed2

View File

@ -68,7 +68,7 @@ restart:
while (1) {
struct xfs_dquot *batch[XFS_DQ_LOOKUP_BATCH];
int error = 0;
int error;
int i;
mutex_lock(&qi->qi_tree_lock);