ACPI / processor: initialize a variable to silence compiler warning

In acpi_processor_resume(), the variable resumed_bm_rld is being
used without being initialized, so initialize it.

Signed-off-by: Al Stone <al.stone@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Al Stone 2013-12-16 17:01:37 -07:00 committed by Rafael J. Wysocki
parent d0a7edbb66
commit 43575faab3
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ static int acpi_processor_suspend(void)
static void acpi_processor_resume(void)
{
u32 resumed_bm_rld;
u32 resumed_bm_rld = 0;
acpi_read_bit_register(ACPI_BITREG_BUS_MASTER_RLD, &resumed_bm_rld);
if (resumed_bm_rld == saved_bm_rld)