summaryrefslogtreecommitdiff
path: root/drivers/acpi/processor_thermal.c
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2010-12-08 10:40:26 +0800
committerLen Brown <len.brown@intel.com>2010-12-11 02:01:47 -0500
commitb9047599695ae835252ba3d6a19eada98c19dc89 (patch)
tree72ce3d2bdce640c4e7fd2eab78bb2a2aa0c587bc /drivers/acpi/processor_thermal.c
parent32d47eeff05981bfb89a95747eb182bc12630d58 (diff)
downloadlwn-b9047599695ae835252ba3d6a19eada98c19dc89.tar.gz
lwn-b9047599695ae835252ba3d6a19eada98c19dc89.zip
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>
Diffstat (limited to 'drivers/acpi/processor_thermal.c')
-rw-r--r--drivers/acpi/processor_thermal.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/acpi/processor_thermal.c b/drivers/acpi/processor_thermal.c
index fde49b9b1d99..79cb65332894 100644
--- a/drivers/acpi/processor_thermal.c
+++ b/drivers/acpi/processor_thermal.c
@@ -156,15 +156,6 @@ static int cpufreq_set_cur_state(unsigned int cpu, int state)
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
int acpi_processor_get_limit_info(struct acpi_processor *pr)