pm: Remove unused parameter

The number of ticks on z_pm_save_idle_exit is not used and there is
no need to have it.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2021-11-15 21:22:38 -08:00 committed by Christopher Friedt
commit 7dd4297214
7 changed files with 5 additions and 17 deletions

View file

@ -244,10 +244,8 @@ typedef struct s_isrList {
static inline void arch_irq_direct_pm(void)
{
if (_kernel.idle) {
int32_t idle_val = _kernel.idle;
_kernel.idle = 0;
z_pm_save_idle_exit(idle_val);
z_pm_save_idle_exit();
}
}