Revert "sched: Fix DEBUG && !SCHEDSTATS warn"

This reverts commit 0a008c5098 which is
commit 769fdf83df57b373660343ef4270b3ada91ef434 upstream.

It needs to be reverted as a later change to be reverted depends on this
fixup being gone.  If it is needed in the future it can come back in an
abi-safe way.

Bug: 161946584
Change-Id: I4effa5266207c9499867d16f3248732e0f6bc526
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman
2023-06-23 14:08:13 +00:00
parent e24bfe24b9
commit 4a9086dbbb

View File

@@ -464,8 +464,7 @@ static void print_cfs_group_stats(struct seq_file *m, int cpu, struct task_group
PN(se->sum_exec_runtime);
if (schedstat_enabled()) {
struct sched_statistics *stats;
stats = __schedstats_from_se(se);
struct sched_statistics *stats = __schedstats_from_se(se);
PN_SCHEDSTAT(wait_start);
PN_SCHEDSTAT(sleep_start);