linux-next: build warning after merge of the xfs tree

From: Stephen Rothwell
Date: Sun Jun 06 2021 - 20:48:49 EST


Hi all,

After merging the xfs tree, today's linux-next build (powerpc_ppc64
defconfig) produced this warning:

fs/xfs/libxfs/xfs_ialloc.c: In function 'xfs_difree_finobt':
fs/xfs/libxfs/xfs_ialloc.c:2032:20: warning: unused variable 'agi' [-Wunused-variable]
2032 | struct xfs_agi *agi = agbp->b_addr;
| ^~~

Not sure how this came about, but somehow DEBUG has been turned off
which exposes this.

--
Cheers,
Stephen Rothwell

Attachment: pgpVUmYViJFkK.pgp
Description: OpenPGP digital signature