diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-05-24 17:35:55 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-05-24 17:35:55 -0400 |
commit | 354258011e8e86961f7a72ad154ca8caf0c4c6f7 (patch) | |
tree | e1c680e692a9cdddaabece1fe73dd85928bd1b23 /kernel | |
parent | 4e2d9491a78929badcf774869b458486acb96365 (diff) |
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 6418d8c8cdb2..16aa3bcd6b54 100644 --- a/kernel/power/hibernate.c +++ b/kernel/power/hibernate.c | |||
@@ -25,7 +25,6 @@ | |||
25 | #include <linux/gfp.h> | 25 | #include <linux/gfp.h> |
26 | #include <linux/syscore_ops.h> | 26 | #include <linux/syscore_ops.h> |
27 | #include <scsi/scsi_scan.h> | 27 | #include <scsi/scsi_scan.h> |
28 | #include <asm/suspend.h> | ||
29 | 28 | ||
30 | #include "power.h" | 29 | #include "power.h" |
31 | 30 | ||
@@ -244,10 +243,6 @@ static int create_image(int platform_mode) | |||
244 | { | 243 | { |
245 | int error; | 244 | int error; |
246 | 245 | ||
247 | error = arch_prepare_suspend(); | ||
248 | if (error) | ||
249 | return error; | ||
250 | |||
251 | error = dpm_suspend_noirq(PMSG_FREEZE); | 246 | error = dpm_suspend_noirq(PMSG_FREEZE); |
252 | if (error) { | 247 | if (error) { |
253 | printk(KERN_ERR "PM: Some devices failed to power down, " | 248 | printk(KERN_ERR "PM: Some devices failed to power down, " |