Commit 735ecbfc authored by Elektroschmock's avatar Elektroschmock Committed by Vincent Zvikaramba

Android: cpufreq_stats: Fix uninitialized variable

Change-Id: I6772b3d1b185633990f035171393360b8b147ed9
parent 07a7554d
......@@ -830,7 +830,7 @@ static void cpufreq_allstats_create(unsigned int cpu,
static int cpufreq_stat_notifier_policy(struct notifier_block *nb,
unsigned long val, void *data)
{
int ret, count = 0, i;
int ret = 0, count = 0, i;
struct cpufreq_policy *policy = data;
struct cpufreq_frequency_table *table;
unsigned int cpu = policy->cpu;
......
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