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

Dietmar Eggemann
2018-08-15T15:30:52Z

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.