From d8fcb6f1346c36316ccb20f887081299a61bbcc8 Mon Sep 17 00:00:00 2001 From: Kaixu Xia Date: Sun, 29 Mar 2020 09:45:19 -0700 Subject: [PATCH] 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 Reviewed-by: Chaitanya Kulkarni Reviewed-by: Dave Chinner Signed-off-by: Darrick J. Wong --- fs/xfs/xfs_symlink.c | 1 - 1 file changed, 1 deletion(-) 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); /*