xfs: misc cleanups for __xfs_btree_check_sblock
authorChristoph Hellwig <hch@lst.de>
Thu, 22 Feb 2024 20:40:55 +0000 (12:40 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 22 Feb 2024 20:40:55 +0000 (12:40 -0800)
commit43be09192ce1f3cf9c3d2073e822a1d0a42fe5b2
treecaa0ebf5e17418d44288b75725061b5e3c5464af
parent57982d6c835a71da5c66e6090680de1adf6e736a
xfs: misc cleanups for __xfs_btree_check_sblock

Remove the local crc variable that is only used once and remove the bp
NULL checking as it can't ever be NULL for short form blocks.

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