Commit 76fd38ce authored by Viresh Kumar's avatar Viresh Kumar Committed by Eduardo Valentin

thermal/cpu_cooling: No need to initialize max_freq to 0

Its always set before getting used, don't initialize it.
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent 02373d7c
......@@ -218,7 +218,7 @@ static int cpufreq_thermal_notifier(struct notifier_block *nb,
unsigned long event, void *data)
{
struct cpufreq_policy *policy = data;
unsigned long max_freq = 0;
unsigned long max_freq;
struct cpufreq_cooling_device *cpufreq_dev;
switch (event) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment