Commit b7fb358c authored by Dave Jones's avatar Dave Jones

[CPUFREQ] Fix up compile of cpufreq_stats

Whoops, I lost a hunk of the last patch somehow.
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent bc7b26fd
...@@ -247,6 +247,7 @@ cpufreq_stats_create_table (struct cpufreq_policy *policy, ...@@ -247,6 +247,7 @@ cpufreq_stats_create_table (struct cpufreq_policy *policy,
return 0; return 0;
error_out: error_out:
cpufreq_cpu_put(data); cpufreq_cpu_put(data);
error_get_fail:
kfree(stat); kfree(stat);
cpufreq_stats_table[cpu] = NULL; cpufreq_stats_table[cpu] = NULL;
return ret; return ret;
......
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