mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
c6425702f2
commit
d8fcb6f134
|
@ -176,7 +176,6 @@ xfs_symlink(
|
|||
return -ENAMETOOLONG;
|
||||
ASSERT(pathlen > 0);
|
||||
|
||||
udqp = gdqp = NULL;
|
||||
prid = xfs_get_initial_prid(dp);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue