diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/power/hibernate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c index d97ba8615c30..d26f04e92743 100644 --- a/kernel/power/hibernate.c +++ b/kernel/power/hibernate.c | |||
@@ -330,7 +330,7 @@ int hibernation_snapshot(int platform_mode) | |||
330 | 330 | ||
331 | error = platform_begin(platform_mode); | 331 | error = platform_begin(platform_mode); |
332 | if (error) | 332 | if (error) |
333 | return error; | 333 | goto Close; |
334 | 334 | ||
335 | /* Preallocate image memory before shutting down devices. */ | 335 | /* Preallocate image memory before shutting down devices. */ |
336 | error = hibernate_preallocate_memory(); | 336 | error = hibernate_preallocate_memory(); |