]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: remove unnecessary check
authorDan Carpenter <dan.carpenter@linaro.org>
Fri, 12 Jul 2024 14:07:36 +0000 (09:07 -0500)
committerChandan Babu R <chandanbabu@kernel.org>
Tue, 3 Sep 2024 04:37:40 +0000 (10:07 +0530)
commitfb8b941c75bd70ddfb0a8a3bb9bb770ed1d648f8
tree5f0ba909e1509b23f722e03c49f510b6b788ae35
parentca57120dfe2790a90fbafa3f7ced9c39d94d4698
xfs: remove unnecessary check

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>
fs/xfs/libxfs/xfs_inode_util.c