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

This reverts commit 0a008c5098.

It breaks the ABI and is not needed for now.  It will come in at the
next ABI break so that future releases will be easier to manage.

Bug: 161946584
Change-Id: I86c25b201af54ae5af12d7925f94297d1904246c
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman
2023-06-10 08:38:05 +00:00
parent ece8426754
commit 5390c024c3

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);