xfs: remove pointless shadow variable from xfs_difree_inobt
authorDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 02:00:13 +0000 (19:00 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 02:00:13 +0000 (19:00 -0700)
commitcc1207662d1a08e253520654e956f5e699826caa
treee6c235d8de461e94155ef679bdd31224962bb2a3
parent7ac14fa2bd22e99a06ae16382b394f697cfe2b8a
xfs: remove pointless shadow variable from xfs_difree_inobt

In xfs_difree_inobt, the pag passed in was previously used to look up
the AGI buffer.  There's no need to extract it again, so remove the
shadow variable and shut up -Wshadow.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/libxfs/xfs_ialloc.c