linux-next: build warning after merge of the origin tree
From: Stephen Rothwell
Date: Sun Jan 16 2022 - 19:45:51 EST
Hi all,
After merging the origin tree, today's linux-next build (powerpc
allnoconfig) produced this warning:
kernel/sysctl.c:125:12: warning: 'one_thousand' defined but not used [-Wunused-variable]
125 | static int one_thousand = 1000;
| ^~~~~~~~~~~~
Introduced by commit
39c65a94cd96 ("mm/pagealloc: sysctl: change watermark_scale_factor max limit to 30%")
It seems to only be used when CONFIG_PERF_EVENTS is set.
I didn't see it in linux-next because there is a patch later in the
akpm series (not yet in Linus' tree) that removes this variable.
--
Cheers,
Stephen Rothwell
Attachment:
pgpZVSd5oGf1c.pgp
Description: OpenPGP digital signature