]> asedeno.scripts.mit.edu Git - linux.git/commit
thermal: cpu_cooling: get rid of a variable in cpufreq_set_cur_state()
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 25 Apr 2017 10:27:13 +0000 (15:57 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Sun, 28 May 2017 00:32:20 +0000 (17:32 -0700)
commit18f301c934db0f7bae4e7c12e941bce11d67aec5
tree73ccd35b23ef5e23f38d84faeba7dda560db11a6
parent3e08b2df12983159ea2d9a1aa2b2bc601093b3cb
thermal: cpu_cooling: get rid of a variable in cpufreq_set_cur_state()

'cpu' is used at only one place and there is no need to keep a separate
variable for it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Tested-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/cpu_cooling.c