soc: arm: st_stm32: remove redundant PM_STATE_ACTIVE case
pm_state_exit_post_ops() will never be called with PM_STATE_ACTIVE. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
parent
b7f88b4301
commit
0b49b86f06
3 changed files with 0 additions and 6 deletions
|
@ -132,8 +132,6 @@ void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id)
|
|||
case PM_STATE_SOFT_OFF:
|
||||
/* We should not get there */
|
||||
__fallthrough;
|
||||
case PM_STATE_ACTIVE:
|
||||
__fallthrough;
|
||||
case PM_STATE_SUSPEND_TO_RAM:
|
||||
__fallthrough;
|
||||
case PM_STATE_SUSPEND_TO_DISK:
|
||||
|
|
|
@ -105,8 +105,6 @@ void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id)
|
|||
case PM_STATE_SOFT_OFF:
|
||||
/* We should not get there */
|
||||
__fallthrough;
|
||||
case PM_STATE_ACTIVE:
|
||||
__fallthrough;
|
||||
case PM_STATE_SUSPEND_TO_RAM:
|
||||
__fallthrough;
|
||||
case PM_STATE_SUSPEND_TO_DISK:
|
||||
|
|
|
@ -82,8 +82,6 @@ void pm_state_exit_post_ops(enum pm_state state, uint8_t substate_id)
|
|||
case PM_STATE_SOFT_OFF:
|
||||
/* We should not get there */
|
||||
__fallthrough;
|
||||
case PM_STATE_ACTIVE:
|
||||
__fallthrough;
|
||||
case PM_STATE_SUSPEND_TO_RAM:
|
||||
__fallthrough;
|
||||
case PM_STATE_SUSPEND_TO_DISK:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue