ACPI: Do not prepare for hibernation in acpi_shutdown
Changes
1 files changed · +0 −3
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| drivers/acpi/sleep/poweroff.c | modified | +0 | −3 | View file |
drivers/acpi/sleep/poweroff.c
View filediff --git a/drivers/acpi/sleep/poweroff.c b/drivers/acpi/sleep/poweroff.c
index d9801ef..240dde9 100644
--- a/drivers/acpi/sleep/poweroff.c
+++ b/drivers/acpi/sleep/poweroff.c
@@ -54,9 +54,6 @@ static int acpi_shutdown(struct sys_device *x)
case SYSTEM_POWER_OFF:
/* Prepare to power off the system */
return acpi_sleep_prepare(ACPI_STATE_S5);
- case SYSTEM_SUSPEND_DISK:
- /* Prepare to suspend the system to disk */
- return acpi_sleep_prepare(ACPI_STATE_S4);
default:
return 0;
}