提交 76fd38ce 编写于 作者: V Viresh Kumar 提交者: 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: NViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: NEduardo Valentin <edubezval@gmail.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册