Skip to content

Commit d298787

Browse files
Tom Rixrafaeljw
authored andcommitted
PM: sleep: remove unreachable break
A break following a return statement is pointless, so drop it. Signed-off-by: Tom Rix <trix@redhat.com> [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 0b8417c commit d298787

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/base/power/main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,6 @@ static pm_callback_t pm_op(const struct dev_pm_ops *ops, pm_message_t state)
363363
case PM_EVENT_THAW:
364364
case PM_EVENT_RECOVER:
365365
return ops->thaw;
366-
break;
367366
case PM_EVENT_RESTORE:
368367
return ops->restore;
369368
#endif /* CONFIG_HIBERNATE_CALLBACKS */

0 commit comments

Comments
 (0)