diff options
Diffstat (limited to 'drivers/base/power/main.c')
-rw-r--r-- | drivers/base/power/main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c index d571204aaff7..3250c5257b74 100644 --- a/drivers/base/power/main.c +++ b/drivers/base/power/main.c | |||
@@ -781,8 +781,6 @@ int device_suspend(pm_message_t state) | |||
781 | error = dpm_prepare(state); | 781 | error = dpm_prepare(state); |
782 | if (!error) | 782 | if (!error) |
783 | error = dpm_suspend(state); | 783 | error = dpm_suspend(state); |
784 | if (error) | ||
785 | device_resume(resume_event(state)); | ||
786 | return error; | 784 | return error; |
787 | } | 785 | } |
788 | EXPORT_SYMBOL_GPL(device_suspend); | 786 | EXPORT_SYMBOL_GPL(device_suspend); |