Re: [PATCH v3 05/14] sched/cpufreq: uclamp: add utilization clamping for FAIR tasks

From: Dietmar Eggemann
Date: Wed Aug 15 2018 - 11:30:53 EST


On 08/06/2018 06:39 PM, Patrick Bellasi wrote:

[...]

+#else /* CONFIG_UCLAMP_TASK */
+static inline unsigned int uclamp_value(unsigned int cpu, int clamp_id)
+{
+ return uclamp_none(clamp_id);
+}

Looks like that uclamp_value() is not used outside CONFIG_UCLAMP_TASK areas.