diff options
author | 2023-01-03 09:54:28 -0800 | |
---|---|---|
committer | 2023-01-03 10:23:07 -0800 | |
commit | e195605ed28b5581dc2d509283cfea2e8635a251 (patch) | |
tree | bc2ff22662c000b930eb7d007f03b32996208aa1 | |
parent | xfs: Fix deadlock on xfs_inodegc_worker (diff) | |
download | wireguard-linux-e195605ed28b5581dc2d509283cfea2e8635a251.tar.xz wireguard-linux-e195605ed28b5581dc2d509283cfea2e8635a251.zip |
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>
-rw-r--r-- | fs/xfs/xfs_qm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_qm.c b/fs/xfs/xfs_qm.c index ff53d40a2dae..e2c542f6dcd4 100644 --- a/fs/xfs/xfs_qm.c +++ b/fs/xfs/xfs_qm.c @@ -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); |