[PATCH v2 0/2] xfs: Clear a W=1 warning and some __maybe_unused usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux