diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-05-24 21:35:55 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-05-24 21:35:55 (GMT) |
commit | 354258011e8e86961f7a72ad154ca8caf0c4c6f7 (patch) | |
tree | e1c680e692a9cdddaabece1fe73dd85928bd1b23 /kernel | |
parent | 4e2d9491a78929badcf774869b458486acb96365 (diff) | |
download | linux-354258011e8e86961f7a72ad154ca8caf0c4c6f7.tar.xz |
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')
-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 6418d8c..16aa3bc 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, " |