diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-05-24 23:35:55 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-05-24 23:35:55 +0200 |
commit | 354258011e8e86961f7a72ad154ca8caf0c4c6f7 (patch) | |
tree | e1c680e692a9cdddaabece1fe73dd85928bd1b23 /kernel/power | |
parent | PM / Hibernate: Update some comments in core hibernate code (diff) | |
download | linux-354258011e8e86961f7a72ad154ca8caf0c4c6f7.tar.xz linux-354258011e8e86961f7a72ad154ca8caf0c4c6f7.zip |
PM / Hibernate: Remove arch_prepare_suspend()
All architectures supporting hibernation define
arch_prepare_suspend() as an empty function, so remove it.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel/power')
-rw-r--r-- | kernel/power/hibernate.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c index 6418d8c8cdb2..16aa3bcd6b54 100644 --- a/kernel/power/hibernate.c +++ b/kernel/power/hibernate.c @@ -25,7 +25,6 @@ #include <linux/gfp.h> #include <linux/syscore_ops.h> #include <scsi/scsi_scan.h> -#include <asm/suspend.h> #include "power.h" @@ -244,10 +243,6 @@ static int create_image(int platform_mode) { int error; - error = arch_prepare_suspend(); - if (error) - return error; - error = dpm_suspend_noirq(PMSG_FREEZE); if (error) { printk(KERN_ERR "PM: Some devices failed to power down, " |