xfs: remove the crc variable in __xfs_btree_check_lblock
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Feb 2024 20:40:56 +0000 (12:40 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:40:56 +0000 (12:40 -0800)
commitbd45019d9aa942d1c2457d96a7dbf2ad3051754b
tree4db34367c207dddafc049bf625b2565886c0e1b4
parent43be09192ce1f3cf9c3d2073e822a1d0a42fe5b2
xfs: remove the crc variable in __xfs_btree_check_lblock

crc is only used once, just use the xfs_has_crc check directly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/libxfs/xfs_btree.c