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

From: Stephen Rothwell <[email-masked]>
Date: Tue, 25 Aug 2020 10:45:07 +1000

Hi all,

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

fs/btrfs/volumes.c: In function 'btrfs_rm_dev_replace_free_srcdev':
fs/btrfs/volumes.c:2217:24: warning: unused variable 'fs_info' [-Wunused-variable]
 2217 |  struct btrfs_fs_info *fs_info = srcdev->fs_info;
      |                        ^~~~~~~

Introduced by commits

  2a6fac3ea9a1 ("btrfs: move btrfs_scratch_superblocks into btrfs_dev_replace_finishing")
  438ac6dd65ef ("btrfs: switch seed device to list api")

merged in commit

  76e6c55d5432 ("Merge branch 'ext/nikbor/seed-cleanups-v2' into for-next-next-v5.9-20200824")

which should have removed the declaration.

-- 
Cheers,
Stephen Rothwell