i386/x86_64: acpi/sleep.c: kill unused acpi_save_state_disk
PATCH 1/1 i386/x86_64: acpi/sleep.c: kill unused acpi_save_state_disk
acpi_save_state_disk does nothing and is completely unused.
This patch was already ACK'ed by Pavel Machek.
---
This patch was already sent on:
- 16 Jan 2005
arch/i386/kernel/acpi/sleep.c | 9 --------- arch/x86_64/kernel/acpi/sleep.c | 9 --------- include/asm-i386/acpi.h | 1 - include/asm-i386/suspend.h | 1 - include/asm-x86_64/acpi.h | 1 - include/asm-x86_64/suspend.h | 1 - 6 files changed, 22 deletions(-)
include/asm-i386/acpi.h renamed from include/asm-i386/acpi.h.old +0 -1
@@ -174,7 +174,6 @@/* routines for saving/restoring kernel state */ extern int acpi_save_state_mem (void ); -extern int acpi_save_state_disk (void );extern void acpi_restore_state_mem (void );extern unsigned long acpi_wakeup_address;
include/asm-i386/suspend.h renamed from include/asm-i386/suspend.h.old +0 -1
@@ -61,5 +61,4 @@/* routines for saving/restoring kernel state */ extern int acpi_save_state_mem (void ); -extern int acpi_save_state_disk (void );#endif
include/asm-x86_64/acpi.h renamed from include/asm-x86_64/acpi.h.old +0 -1
@@ -153,7 +153,6 @@/* routines for saving/restoring kernel state */ extern int acpi_save_state_mem (void ); -extern int acpi_save_state_disk (void );extern void acpi_restore_state_mem (void );extern unsigned long acpi_wakeup_address;
include/asm-x86_64/suspend.h renamed from include/asm-x86_64/suspend.h.old +0 -1
@@ -55,5 +55,4 @@/* routines for saving/restoring kernel state */ extern int acpi_save_state_mem (void ); -extern int acpi_save_state_disk (void );#endif
arch/i386/kernel/acpi/sleep.c renamed from arch/i386/kernel/acpi/sleep.c.old +0 -9
@@ -47,15 +47,6 @@return 0 ; } -/** -* acpi_save_state_disk - save kernel state to disk -* -*/ -int acpi_save_state_disk (void ) -{ -return 1 ; -} -/* * acpi_restore_state - undo effects of acpi_save_state_mem */
arch/x86_64/kernel/acpi/sleep.c renamed from arch/x86_64/kernel/acpi/sleep.c.old +0 -9
@@ -87,15 +87,6 @@return 0 ; } -/** -* acpi_save_state_disk - save kernel state to disk -* -*/ -int acpi_save_state_disk (void ) -{ -return 1 ; -} -/* * acpi_restore_state */
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Quoted 3 lines · Adrian Bunk
acpi_save_state_diskdoes nothing and is completely unused.This patch was already ACK'ed by Pavel Machek.
Since it affects both i386 and x86-64 it should be pushed by the ACPI people. However it's no bugfix and so definitely nothing for 2.6.11, so it'll take quite some time anyways.
-Andi
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl