commit | b24a5b6512a6fb89f3b99b9b0f829b4448e62db0 | [log] [tgz] |
---|---|---|
author | Saravana Kannan <skannan@codeaurora.org> | Thu Feb 27 17:58:34 2014 -0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Sun Mar 02 00:55:50 2014 +0100 |
tree | 6b576816e5f643675cc5c9778b633d96395f46e6 | |
parent | d98d099b9fbb7bbb20a74efe5327322831c9c9a3 [diff] |
cpufreq: stats: Remove redundant cpufreq_cpu_get() call __cpufreq_stats_create_table always gets pass the valid and real policy struct. So, there's no need to call cpufreq_cpu_get() to get the policy again. Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Saravana Kannan <skannan@codeaurora.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>