projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4da1125
)
xfs: xfs_qm: remove unnecessary ‘0’ values from error
author
Li zeming
<zeming@nfschina.com>
Tue, 3 Jan 2023 17:54:28 +0000
(09:54 -0800)
committer
Darrick J. Wong
<djwong@kernel.org>
Tue, 3 Jan 2023 18:23:07 +0000
(10:23 -0800)
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>
fs/xfs/xfs_qm.c
patch
|
blob
|
history
diff --git
a/fs/xfs/xfs_qm.c
b/fs/xfs/xfs_qm.c
index
ff53d40
..
e2c542f
100644
(file)
--- 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);