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

From: Stephen Rothwell
Date: Sun Sep 19 2021 - 21:33:40 EST


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

Attachment: pgpQlolhTnR0U.pgp
Description: OpenPGP digital signature