mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
PM: EM: Drop unused parameter from em_adjust_new_capacity()
The max_cap parameter is never used in em_adjust_new_capacity(), so drop it. No functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Lukasz Luba <lukasz.luba@arm.com> Link: https://patch.msgid.link/2369979.ElGaqSPkdT@rjwysocki.net
This commit is contained in:
parent
0ad2507d5d
commit
5fad775d43
|
|
@ -728,8 +728,7 @@ static int em_recalc_and_update(struct device *dev, struct em_perf_domain *pd,
|
|||
* are correctly calculated.
|
||||
*/
|
||||
static void em_adjust_new_capacity(struct device *dev,
|
||||
struct em_perf_domain *pd,
|
||||
u64 max_cap)
|
||||
struct em_perf_domain *pd)
|
||||
{
|
||||
struct em_perf_table __rcu *em_table;
|
||||
|
||||
|
|
@ -800,7 +799,7 @@ static void em_check_capacity_update(void)
|
|||
cpu, cpu_capacity, em_max_perf);
|
||||
|
||||
dev = get_cpu_device(cpu);
|
||||
em_adjust_new_capacity(dev, pd, cpu_capacity);
|
||||
em_adjust_new_capacity(dev, pd);
|
||||
}
|
||||
|
||||
free_cpumask_var(cpu_done_mask);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user