commit | 0bf18f19be4d26545d7aa3114091cffe556572be | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Tue Sep 30 09:19:57 2014 +0530 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Sep 30 21:09:40 2014 +0200 |
tree | e95b0afadeec37ab360ccd267a780d50578785a5 | |
parent | 7c4f45397057506415d1cbf3e30b90674f2e0ec0 [diff] |
cpufreq: ppc-corenet: remove duplicate update of cpu_data 'cpu_data' is updated for policy->cpu first and then for all CPUs in policy->cpus. policy->cpus is guaranteed to contain policy->cpu as well and so the first write to 'cpu_data' for policy->cpu is redundant. Remove it. Acked-by: Tang Yuantian <Yuantian.Tang@freescale.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>