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

From: Stephen Rothwell <[email-masked]>
Date: Thu, 16 Jan 2020 09:12:42 +1100

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