diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-02-15 13:15:32 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-02-18 11:34:32 +0100 |
commit | fa93b51c55099660c2583ec918ef27df18fc511a (patch) | |
tree | ee13c938e8ca8fdbcb33bfffb39eb5901ee6b83e /LICENSES | |
parent | 6c8d750f9784cef32a8cffdad74c8a351b4ca3a6 (diff) | |
download | lwn-fa93b51c55099660c2583ec918ef27df18fc511a.tar.gz lwn-fa93b51c55099660c2583ec918ef27df18fc511a.zip |
cpufreq: intel_pstate: Avoid redundant initialization of local vars
After commit 1a4fe38add8b ("cpufreq: intel_pstate: Remove max/min
fractions to limit performance") the initial value of the pstate local
variable in intel_pstate_max_within_limits() and the initial value of
the max_pstate local variable in intel_pstate_prepare_request() are
both immediately discarded, so initialize both these variables to
their target values upfront.
No intentional changes of behavior.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions