summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_throttling.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-02-02 03:56:18 -0500
committerLen Brown <len.brown@intel.com>2008-02-02 03:56:18 -0500
commit3391a76f2bbb74e42b9ba44c05a7366ffd388753 (patch)
treedf70e40038602226bc7e020d666f3a415b4d54f2 /drivers/acpi/processor_throttling.c
parent33a2a529f7a2fb481812b99737176628fda457b0 (diff)
downloadop-kernel-dev-3391a76f2bbb74e42b9ba44c05a7366ffd388753.zip
op-kernel-dev-3391a76f2bbb74e42b9ba44c05a7366ffd388753.tar.gz
ACPI: throttling: fix build warning
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/processor_throttling.c')
-rw-r--r--drivers/acpi/processor_throttling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/processor_throttling.c b/drivers/acpi/processor_throttling.c
index 86c790e..1b8e592 100644
--- a/drivers/acpi/processor_throttling.c
+++ b/drivers/acpi/processor_throttling.c
@@ -987,7 +987,7 @@ static int acpi_processor_set_throttling_ptc(struct acpi_processor *pr,
int acpi_processor_set_throttling(struct acpi_processor *pr, int state)
{
cpumask_t saved_mask;
- int ret;
+ int ret = 0;
unsigned int i;
struct acpi_processor *match_pr;
struct acpi_processor_throttling *p_throttling;
OpenPOWER on IntegriCloud