diff options
author | Kaixu Xia <kaixuxia@tencent.com> | 2020-03-29 18:45:19 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-03-31 17:42:22 +0200 |
commit | d8fcb6f1346c36316ccb20f887081299a61bbcc8 (patch) | |
tree | 56f632b8c51581592dbdabe34043b9855e946e68 /fs | |
parent | xfs: ratelimit inode flush on buffered write ENOSPC (diff) | |
download | linux-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.c | 1 |
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); /* |