[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
<OS3P286MB2490D85DD16331E5942BCEC4B1C22@OS3P286MB2490.JPNP286.PROD.OUTLOOK.COM>
Date: Fri, 14 Jun 2024 20:12:59 +0800
From: Riwen Lu <luriwen@...mail.com>
To: Viresh Kumar <viresh.kumar@...aro.org>
Cc: Ionela Voinescu <ionela.voinescu@....com>, beata.michalska@....com,
rafael@...nel.org, linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
hotran@....com, Riwen Lu <luriwen@...inos.cn>
Subject: Re: [PATCH v3] cpufreq/cppc: Remove the desired_perf compare when set
target
在 2024/6/12 14:24, Viresh Kumar 写道:
> On 12-06-24, 10:52, Riwen Lu wrote:
>> I think it's no need to remove the "desired_perf" local variable here, the
>> code is seems more readable.
>
> There is no need of a temporary variable and I don't think it increases
> readability at all. Moreover, same needs to be done in
> cppc_cpufreq_fast_switch() too.
>
OK. I'll push a patch that remove the desired_perf temporary in
cppc_cpufreq_fast_switch().
Powered by blists - more mailing lists