diff mbox

ACPI: acpi_pad: fix uninitialized variable warning

Message ID 1280863052-31538-1-git-send-email-wfp5p@virginia.edu (mailing list archive)
State New, archived
Headers show

Commit Message

Bill Pemberton Aug. 3, 2010, 7:17 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/acpi/acpi_pad.c b/drivers/acpi/acpi_pad.c
index b76848c..69e2593 100644
--- a/drivers/acpi/acpi_pad.c
+++ b/drivers/acpi/acpi_pad.c
@@ -429,7 +429,7 @@  static void acpi_pad_ost(acpi_handle handle, int stat,
 
 static void acpi_pad_handle_notify(acpi_handle handle)
 {
-	int num_cpus;
+	int uninitialized_var(num_cpus);
 	uint32_t idle_cpus;
 
 	mutex_lock(&isolated_cpus_lock);