mirror of
https://github.com/torvalds/linux.git
synced 2024-09-21 15:33:19 +00:00
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>
This commit is contained in:
parent
08ef8d35a8
commit
6065a67267
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user