thermal/cpu_cooling: No need to initialize max_freq to 0

Its always set before getting used, don't initialize it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
This commit is contained in:
Viresh Kumar 2015-07-30 12:40:30 +05:30 committed by Eduardo Valentin
parent 02373d7c69
commit 76fd38ce21
1 changed files with 1 additions and 1 deletions

View File

@ -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) {