]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: remove useless INIT_LIST_HEAD()
authorHan Wang <zjuwanghan@outlook.com>
Sun, 15 Aug 2021 13:07:29 +0000 (21:07 +0800)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 4 Oct 2021 06:57:44 +0000 (12:27 +0530)
commitfdc210dfc7b488da0c2b25a9b93029c9de4ac7da
treeca5eb32329e4029508767180d42347a90dd11719
parent4477b702bb8caf98fefcd72f15b77b9ec3520076
cpufreq: remove useless INIT_LIST_HEAD()

list cpu_data_list has been inited staticly through LIST_HEAD,
so there's no need to call another INIT_LIST_HEAD. Simply remove
it from cppc_cpufreq_init.

Signed-off-by: Han Wang <zjuwanghan@outlook.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/cppc_cpufreq.c