瀏覽代碼

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>
Zhang Rui 14 年之前
父節點
當前提交
b904759969
共有 1 個文件被更改,包括 0 次插入9 次删除
  1. 0 9
      drivers/acpi/processor_thermal.c

+ 0 - 9
drivers/acpi/processor_thermal.c

@@ -156,15 +156,6 @@ static int cpufreq_set_cur_state(unsigned int cpu, int state)
 	return 0;
 	return 0;
 }
 }
 
 
-static int acpi_thermal_cpufreq_increase(unsigned int cpu)
-{
-	return -ENODEV;
-}
-static int acpi_thermal_cpufreq_decrease(unsigned int cpu)
-{
-	return -ENODEV;
-}
-
 #endif
 #endif
 
 
 int acpi_processor_get_limit_info(struct acpi_processor *pr)
 int acpi_processor_get_limit_info(struct acpi_processor *pr)