diff options
author | Tom Rix <trix@redhat.com> | 2020-10-19 13:03:30 -0700 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-10-22 18:43:31 +0200 |
commit | d298787dbbab5f7ada97c292e19c5c6e55fda6cd (patch) | |
tree | 7979d3e66b46c1facebc3195bea43e45c08ccd48 /drivers/base/power/main.c | |
parent | 0b8417c14181595997091145342954332fa016cd (diff) | |
download | linux-d298787dbbab5f7ada97c292e19c5c6e55fda6cd.tar.bz2 |
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>
Diffstat (limited to 'drivers/base/power/main.c')
-rw-r--r-- | drivers/base/power/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c index 205a06752ca9..c7ac49042cee 100644 --- a/drivers/base/power/main.c +++ b/drivers/base/power/main.c @@ -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_RECOVER: return ops->thaw; - break; case PM_EVENT_RESTORE: return ops->restore; #endif /* CONFIG_HIBERNATE_CALLBACKS */ |