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

From: Stephen Rothwell <[email-masked]>
Date: Mon, 17 Jan 2022 11:45:14 +1100

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