]> err.no Git - linux-2.6/commitdiff
ACPI: Fix mismerge in acpi_hibernation_finish
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 19 Nov 2007 22:33:59 +0000 (23:33 +0100)
committerLen Brown <len.brown@intel.com>
Fri, 1 Feb 2008 23:30:53 +0000 (18:30 -0500)
Some code in acpi_hibernation_finish() was moved to acpi_hibernation_leave(),
but the old copy had been left (it's harmless, but also useless).  Remove it.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/sleep/main.c

index 2c0b6630f8ba54603530fce4574f8697faaabe9e..cbfa058d89e33ea116105def51cc4682a24793f9 100644 (file)
@@ -267,11 +267,6 @@ static void acpi_hibernation_leave(void)
 
 static void acpi_hibernation_finish(void)
 {
-       /*
-        * If ACPI is not enabled by the BIOS and the boot kernel, we need to
-        * enable it here.
-        */
-       acpi_enable();
        acpi_disable_wakeup_device(ACPI_STATE_S4);
        acpi_leave_sleep_state(ACPI_STATE_S4);