Skip to contentSkip to conversation

ACPI processor: remove unused function

PATCH Applied Zhang Rui 2 participants 2 messages Dec 6, 2010 – Dec 14, 2010

Subsystems (2)
lore
Share & tools
lore

Zhang Rui

author reviewer
#0 lore raw

PATCH 7/7 ACPI processor: remove unused function

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’

---
 drivers/acpi/processor_thermal.c |    9 ---------
 1 file changed, 9 deletions(-)
drivers/acpi/processor_thermal.c +0 -9
Index: linux-2.6/drivers/acpi/processor_thermal.c
===================================================================
@@ -156,15 +156,6 @@ static int cpufreq_set_cur_state(unsigne
 	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)

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

reviewer
#1 lore raw

-EALREADYAPPLIED

thanks,
Len Brown, Intel Open Source Technology Center