diff options
Diffstat (limited to 'kernel/power/disk.c')
-rw-r--r-- | kernel/power/disk.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/kernel/power/disk.c b/kernel/power/disk.c index 406b20adb27a..aec19b063e3f 100644 --- a/kernel/power/disk.c +++ b/kernel/power/disk.c | |||
@@ -240,12 +240,6 @@ static int software_resume(void) | |||
240 | goto Done; | 240 | goto Done; |
241 | } | 241 | } |
242 | 242 | ||
243 | error = platform_prepare(); | ||
244 | if (error) { | ||
245 | swsusp_free(); | ||
246 | goto Thaw; | ||
247 | } | ||
248 | |||
249 | pr_debug("PM: Reading swsusp image.\n"); | 243 | pr_debug("PM: Reading swsusp image.\n"); |
250 | 244 | ||
251 | error = swsusp_read(); | 245 | error = swsusp_read(); |
@@ -268,7 +262,6 @@ static int software_resume(void) | |||
268 | enable_nonboot_cpus(); | 262 | enable_nonboot_cpus(); |
269 | Free: | 263 | Free: |
270 | swsusp_free(); | 264 | swsusp_free(); |
271 | platform_finish(); | ||
272 | device_resume(); | 265 | device_resume(); |
273 | resume_console(); | 266 | resume_console(); |
274 | Thaw: | 267 | Thaw: |