For configs XFS_DEBUG and XFS_WARN disabled, for a W=1 build xfs_iwalk_run_callbacks() generates a warning for unused variable. Clean that up. Also remove __maybe_unused usage in xfs_alloc.c, which is for protecting against the same type of warning. John Garry (2): xfs: Clear W=1 warning in xfs_iwalk_run_callbacks() xfs: Stop using __maybe_unused in xfs_alloc.c fs/xfs/libxfs/xfs_alloc.c | 6 ++---- fs/xfs/xfs_iwalk.c | 5 ++--- 2 files changed, 4 insertions(+), 7 deletions(-) -- 2.31.1