Commit b9047599695ae835252ba3d6a19eada98c19dc89

Authored by Zhang Rui
Committed by Len Brown
1 parent 32d47eeff0

ACPI thermal: remove two unused functions

When CONFIG_CPU_FREQ=n ...

drivers/acpi/processor_thermal.c:159:12: warning: ‘acpi_thermal_cpufreq_increase’ defined but not used
drivers/acpi/processor_thermal.c:163:12: warning: ‘acpi_thermal_cpufreq_decrease’ defined but not used

Remove unused declaration of ‘acpi_thermal_cpufreq_increase’ and
‘acpi_thermal_cpufreq_decrease’

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>

Showing 1 changed file with 0 additions and 9 deletions Side-by-side Diff

drivers/acpi/processor_thermal.c
... ... @@ -156,15 +156,6 @@
156 156 return 0;
157 157 }
158 158  
159   -static int acpi_thermal_cpufreq_increase(unsigned int cpu)
160   -{
161   - return -ENODEV;
162   -}
163   -static int acpi_thermal_cpufreq_decrease(unsigned int cpu)
164   -{
165   - return -ENODEV;
166   -}
167   -
168 159 #endif
169 160  
170 161 int acpi_processor_get_limit_info(struct acpi_processor *pr)