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

From: Stephen Rothwell <[email-masked]>
Date: Fri, 10 Jul 2020 16:32:04 +1000

Hi all,

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

fs/nsfs.c: In function 'ns_ioctl':
fs/nsfs.c:195:14: warning: unused variable 'pid_struct' [-Wunused-variable]
  195 |  struct pid *pid_struct;
      |              ^~~~~~~~~~
fs/nsfs.c:194:22: warning: unused variable 'child_reaper' [-Wunused-variable]
  194 |  struct task_struct *child_reaper;
      |                      ^~~~~~~~~~~~

Introduced by commit

  a57927d2dce2 ("nsfs: add NS_GET_INIT_PID ioctl")

-- 
Cheers,
Stephen Rothwell