summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorJohn Garry <john.g.garry@oracle.com>2024-05-02 10:08:25 +0000
committerChandan Babu R <chandanbabu@kernel.org>2024-05-27 15:54:24 +0530
commitd7ba701da636afae17d8e1243b3d12eed149abcb (patch)
tree5def1acfced9232710254c60a4ee7f4e3628f4e0 /Kconfig
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff)
xfs: Clear W=1 warning in xfs_iwalk_run_callbacks()
For CONFIG_XFS_DEBUG unset, xfs_iwalk_run_callbacks() generates the following warning for when building with W=1: fs/xfs/xfs_iwalk.c: In function ‘xfs_iwalk_run_callbacks’: fs/xfs/xfs_iwalk.c:354:42: error: variable ‘irec’ set but not used [-Werror=unused-but-set-variable] 354 | struct xfs_inobt_rec_incore *irec; | ^~~~ cc1: all warnings being treated as errors Drop @irec, as it is only an intermediate variable. Suggested-by: Christoph Hellwig <hch@lst.de> Signed-off-by: John Garry <john.g.garry@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions