]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: Remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Fri, 18 Nov 2022 09:46:32 +0000 (10:46 +0100)
committerCarlos Maiolino <cem@kernel.org>
Mon, 21 Nov 2022 14:26:48 +0000 (15:26 +0100)
commite8dbbca18d8d1aefaec35384c718828e64bbb4d1
tree4b0726c1ed24a315a07513ffcd5bd9f304e60492
parentbe98db856abba2a841fe757b760255cebe075d0f
xfs: Remove the unneeded result variable

Source kernel commit: abda5271f8ec6e9a84ae8129ddc59226c89def7a

Return the value xfs_dir_cilookup_result() directly instead of storing it
in another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
libxfs/xfs_dir2_sf.c