schedule: edf/ll: remove list del/init during schedule free

edf_sh->list is not an item. So calling list_itel_del()
on it is wrong in scheduler_free_edf().

remove list_init() from scheduler_free_edf() as the list
should already be free and initialized.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This commit is contained in:
Ranjani Sridharan 2021-06-22 23:30:04 -07:00 committed by Liam Girdwood
parent da79c5073b
commit 299fe20d80
2 changed files with 0 additions and 4 deletions

View File

@ -295,8 +295,6 @@ static void scheduler_free_edf(void *data)
/* free main task context */
task_main_free();
list_item_del(&edf_sch->list);
irq_local_enable(flags);
}

View File

@ -582,8 +582,6 @@ static void scheduler_free_ll(void *data)
notifier_unregister(sch, NULL,
NOTIFIER_CLK_CHANGE_ID(sch->domain->clk));
list_init(&sch->tasks);
irq_local_enable(flags);
}