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

From: Stephen Rothwell <[email-masked]>
Date: Mon, 20 Sep 2021 11:33:30 +1000

Hi all,

After merging the tip tree, today's linux-next build (powerpc_ppc64
defconfig) produced this warning:

kernel/sched/debug.c: In function 'print_cfs_group_stats':
kernel/sched/debug.c:460:41: warning: unused variable 'stats' [-Wunused-variable]
  460 |                struct sched_statistics *stats =  __schedstats_from_se(se);
      |                                         ^~~~~

Caused by commit

  cb3e971c435d ("sched: Make struct sched_statistics independent of fair sched class")

# CONFIG_SCHEDSTATS is not set

-- 
Cheers,
Stephen Rothwell