Commit d298787d authored by Tom Rix's avatar Tom Rix Committed by Rafael J. Wysocki

PM: sleep: remove unreachable break

A break following a return statement is pointless, so drop it.
Signed-off-by: default avatarTom Rix <trix@redhat.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 0b8417c1
...@@ -363,7 +363,6 @@ static pm_callback_t pm_op(const struct dev_pm_ops *ops, pm_message_t state) ...@@ -363,7 +363,6 @@ static pm_callback_t pm_op(const struct dev_pm_ops *ops, pm_message_t state)
case PM_EVENT_THAW: case PM_EVENT_THAW:
case PM_EVENT_RECOVER: case PM_EVENT_RECOVER:
return ops->thaw; return ops->thaw;
break;
case PM_EVENT_RESTORE: case PM_EVENT_RESTORE:
return ops->restore; return ops->restore;
#endif /* CONFIG_HIBERNATE_CALLBACKS */ #endif /* CONFIG_HIBERNATE_CALLBACKS */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment