diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-02-08 23:41:35 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-02-24 19:58:54 +0100 |
commit | c41b93fb8551148a93d3bba870365e8489317f02 (patch) | |
tree | 73445afcf210487e9017e708a6850fa765e98d93 /drivers/acpi | |
parent | c19f9a84ec807da57fd75bbd9a3f2b8269611f79 (diff) | |
download | linux-stable-c41b93fb8551148a93d3bba870365e8489317f02.tar.gz linux-stable-c41b93fb8551148a93d3bba870365e8489317f02.tar.bz2 linux-stable-c41b93fb8551148a93d3bba870365e8489317f02.zip |
ACPI / PM: Drop acpi_restore_state_mem()
The function acpi_restore_state_mem() has never been and most likely
never will be used, so remove it.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/sleep.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c index d6a8cd14de2e..67dcd3886563 100644 --- a/drivers/acpi/sleep.c +++ b/drivers/acpi/sleep.c @@ -293,10 +293,6 @@ static int acpi_suspend_enter(suspend_state_t pm_state) local_irq_restore(flags); printk(KERN_DEBUG "Back to C!\n"); - /* restore processor state */ - if (acpi_state == ACPI_STATE_S3) - acpi_restore_state_mem(); - suspend_nvs_restore(); return ACPI_SUCCESS(status) ? 0 : -EFAULT; |