summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorKaixu Xia <kaixuxia@tencent.com>2020-03-29 18:45:19 +0200
committerDarrick J. Wong <darrick.wong@oracle.com>2020-03-31 17:42:22 +0200
commitd8fcb6f1346c36316ccb20f887081299a61bbcc8 (patch)
tree56f632b8c51581592dbdabe34043b9855e946e68 /fs
parentxfs: ratelimit inode flush on buffered write ENOSPC (diff)
downloadlinux-d8fcb6f1346c36316ccb20f887081299a61bbcc8.tar.xz
linux-d8fcb6f1346c36316ccb20f887081299a61bbcc8.zip
xfs: remove redundant variable assignment in xfs_symlink()
The variables 'udqp' and 'gdqp' have been initialized, so remove redundant variable assignment in xfs_symlink(). Signed-off-by: Kaixu Xia <kaixuxia@tencent.com> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Reviewed-by: Dave Chinner <dchinner@redhat.com Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/xfs/xfs_symlink.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_symlink.c b/fs/xfs/xfs_symlink.c
index fa0fa3c70f1a..13fb4b919648 100644
--- a/fs/xfs/xfs_symlink.c
+++ b/fs/xfs/xfs_symlink.c
@@ -176,7 +176,6 @@ xfs_symlink(
return -ENAMETOOLONG;
ASSERT(pathlen > 0);
- udqp = gdqp = NULL;
prid = xfs_get_initial_prid(dp);
/*