mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 08:44:41 +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
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		|  | @ -741,8 +741,6 @@ static int __init cppc_cpufreq_init(void) | ||||||
| 	if ((acpi_disabled) || !acpi_cpc_valid()) | 	if ((acpi_disabled) || !acpi_cpc_valid()) | ||||||
| 		return -ENODEV; | 		return -ENODEV; | ||||||
| 
 | 
 | ||||||
| 	INIT_LIST_HEAD(&cpu_data_list); |  | ||||||
| 
 |  | ||||||
| 	cppc_check_hisi_workaround(); | 	cppc_check_hisi_workaround(); | ||||||
| 	cppc_freq_invariance_init(); | 	cppc_freq_invariance_init(); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Han Wang
						Han Wang