Skip to content

Commit

Permalink
xfs: remove redundant variable assignment in xfs_symlink()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kaixu Xia authored and Darrick J. Wong committed Mar 31, 2020
1 parent c642570 commit d8fcb6f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/xfs/xfs_symlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ xfs_symlink(
return -ENAMETOOLONG;
ASSERT(pathlen > 0);

udqp = gdqp = NULL;
prid = xfs_get_initial_prid(dp);

/*
Expand Down

0 comments on commit d8fcb6f

Please sign in to comment.