Commit 091aad6a authored by Jan Beulich's avatar Jan Beulich Committed by Len Brown

ACPI: eliminate unused variable warning for !ACPI_SLEEP

Signed-off-by: default avatarJan Beulich <jbeulich@novell.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 66c3ec4f
...@@ -27,8 +27,6 @@ ...@@ -27,8 +27,6 @@
static u8 sleep_states[ACPI_S_STATE_COUNT]; static u8 sleep_states[ACPI_S_STATE_COUNT];
static u32 acpi_target_sleep_state = ACPI_STATE_S0;
static void acpi_sleep_tts_switch(u32 acpi_state) static void acpi_sleep_tts_switch(u32 acpi_state)
{ {
union acpi_object in_arg = { ACPI_TYPE_INTEGER }; union acpi_object in_arg = { ACPI_TYPE_INTEGER };
...@@ -81,6 +79,8 @@ static int acpi_sleep_prepare(u32 acpi_state) ...@@ -81,6 +79,8 @@ static int acpi_sleep_prepare(u32 acpi_state)
} }
#ifdef CONFIG_ACPI_SLEEP #ifdef CONFIG_ACPI_SLEEP
static u32 acpi_target_sleep_state = ACPI_STATE_S0;
/* /*
* The ACPI specification wants us to save NVS memory regions during hibernation * The ACPI specification wants us to save NVS memory regions during hibernation
* and to restore them during the subsequent resume. Windows does that also for * and to restore them during the subsequent resume. Windows does that also for
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment