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

From: Stephen Rothwell
Date: Thu Mar 22 2018 - 03:08:48 EST


Hi Dan,

After merging the nvdimm tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

fs/xfs/xfs_file.c: In function 'xfs_break_layouts':
fs/xfs/xfs_file.c:759:20: warning: unused variable 'ip' [-Wunused-variable]
struct xfs_inode *ip = XFS_I(inode);
^~

Introduced by commit

6ea4108852e9 ("xfs: prepare xfs_break_layouts() for another layout type")

--
Cheers,
Stephen Rothwell

Attachment: pgpq8usPrrghs.pgp
Description: OpenPGP digital signature