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:
Gerard Marull-Paretas 2023-07-27 14:41:06 +02:00 committed by Fabio Baltieri
commit 0b49b86f06
3 changed files with 0 additions and 6 deletions

View file

@ -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:

View file

@ -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:

View file

@ -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: