lkml.org 
[lkml]   [2022]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-next: build warning after merge of the origin tree
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
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2022-01-17 01:46    [W:0.090 / U:0.952 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site