diff --git a/kernel/include/kernel_internal.h b/kernel/include/kernel_internal.h index 3ad4879a48f..2612b9c2984 100644 --- a/kernel/include/kernel_internal.h +++ b/kernel/include/kernel_internal.h @@ -261,8 +261,7 @@ bool pm_system_suspend(int32_t ticks); * those cases, the ISR would be invoked immediately after the event wakes up * the CPU, before code following the CPU wait, gets a chance to execute. This * can be ignored if no operation needs to be done at the wake event - * notification. Alternatively pm_idle_exit_notification_disable() can - * be called in pm_system_suspend to disable this notification. + * notification. */ void pm_system_resume(void); diff --git a/subsys/pm/pm.c b/subsys/pm/pm.c index ab8901dc1a6..1ace33b31ba 100644 --- a/subsys/pm/pm.c +++ b/subsys/pm/pm.c @@ -159,9 +159,6 @@ void pm_system_resume(void) * For such CPU LPS states, do post operations and restores here. * The kernel scheduler will get control after the ISR finishes * and it may schedule another thread. - * - * Call pm_idle_exit_notification_disable() if this - * notification is not required. */ if (!post_ops_done) { uint8_t id = _current_cpu->id;