cpufreq: intel_pstate: Simplify intel_cpufreq_update_pstate()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 12 Nov 2020 19:25:15 +0000 (20:25 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 11 Dec 2020 18:53:58 +0000 (19:53 +0100)
commit2554c32f0b84df1f506546125c9d15c8044a2ec2
tree9eb2dd381cc533d2db88e4f88a914a11e98142fc
parent42807537b6a08b280612c1d456f33d876af74af3
cpufreq: intel_pstate: Simplify intel_cpufreq_update_pstate()

Avoid doing the same assignment in both branches of a conditional,
do it after the whole conditional instead.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c