Commit 6065a672 authored by Han Wang's avatar Han Wang Committed by Viresh Kumar

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: default avatarHan Wang <zjuwanghan@outlook.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 08ef8d35
......@@ -741,8 +741,6 @@ static int __init cppc_cpufreq_init(void)
if ((acpi_disabled) || !acpi_cpc_valid())
return -ENODEV;
INIT_LIST_HEAD(&cpu_data_list);
cppc_check_hisi_workaround();
cppc_freq_invariance_init();
......
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