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

From: Stephen Rothwell
Date: Fri Jul 10 2020 - 02:32:09 EST


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

Attachment: pgpShX0OTzo1f.pgp
Description: OpenPGP digital signature