Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2f18159 authored by Joel Fernandes's avatar Joel Fernandes
Browse files

Revert "sched/core: fix have_sched_energy_data build warning"

This reverts commit a899b908.

Reverting for now due to suspend warning issues.

Change-Id: I9387297b52552a73d5a253b9e8e4467b366479a5
parent 47caff4c
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -91,9 +91,7 @@
#include <trace/events/sched.h>
#include "walt.h"

#ifdef CONFIG_SMP
static bool have_sched_energy_data(void);
#endif

DEFINE_MUTEX(sched_domains_mutex);
DEFINE_PER_CPU_SHARED_ALIGNED(struct rq, runqueues);
@@ -197,11 +195,10 @@ static int sched_feat_set(char *cmp)
				sysctl_sched_features &= ~(1UL << i);
				sched_feat_disable(i);
			} else {
#ifdef CONFIG_SMP
				if (i == __SCHED_FEAT_ENERGY_AWARE)
					WARN(!have_sched_energy_data(),
					     "Missing sched energy data\n");
#endif

				sysctl_sched_features |= (1UL << i);
				sched_feat_enable(i);
			}