]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: remove unnecessary check
authorDan Carpenter <dan.carpenter@linaro.org>
Mon, 21 Oct 2024 00:10:45 +0000 (17:10 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 31 Oct 2024 22:45:03 +0000 (15:45 -0700)
commit0e955beedcb8d45b0f9f82d9f894a84a0547ff29
tree40339cad349763f23424f61535ac68be13c07931
parent541ba966b2ee1a6637009d40d7306ca071ea7e87
xfs: remove unnecessary check

Source kernel commit: fb8b941c75bd70ddfb0a8a3bb9bb770ed1d648f8

We checked that "pip" is non-NULL at the start of the if else statement
so there is no need to check again here.  Delete the check.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
libxfs/xfs_inode_util.c