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

From: Stephen Rothwell
Date: Wed Jan 15 2020 - 17:12:52 EST


Hi all,

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

fs/xfs/xfs_inode.c: In function 'xfs_itruncate_extents_flags':
fs/xfs/xfs_inode.c:1523:8: warning: unused variable 'done' [-Wunused-variable]
1523 | int done = 0;
| ^~~~

Introduced by commit

4bbb04abb4ee ("xfs: truncate should remove all blocks, not just to the end of the page cache")

--
Cheers,
Stephen Rothwell

Attachment: pgp_G8YJGbzvY.pgp
Description: OpenPGP digital signature