Skip to content

Commit 623ed5a

Browse files
Flavio Ceolinnashif
authored andcommitted
pm: Remove invalid comments
Remove comments referencing an old function / behavior. Signed-off-by: Flavio Ceolin <[email protected]>
1 parent 00252b8 commit 623ed5a

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

kernel/include/kernel_internal.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,7 @@ bool pm_system_suspend(int32_t ticks);
261261
* those cases, the ISR would be invoked immediately after the event wakes up
262262
* the CPU, before code following the CPU wait, gets a chance to execute. This
263263
* can be ignored if no operation needs to be done at the wake event
264-
* notification. Alternatively pm_idle_exit_notification_disable() can
265-
* be called in pm_system_suspend to disable this notification.
264+
* notification.
266265
*/
267266
void pm_system_resume(void);
268267

subsys/pm/pm.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,6 @@ void pm_system_resume(void)
159159
* For such CPU LPS states, do post operations and restores here.
160160
* The kernel scheduler will get control after the ISR finishes
161161
* and it may schedule another thread.
162-
*
163-
* Call pm_idle_exit_notification_disable() if this
164-
* notification is not required.
165162
*/
166163
if (!post_ops_done) {
167164
uint8_t id = _current_cpu->id;

0 commit comments

Comments
 (0)