mirror of https://github.com/thesofproject/sof.git
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:
parent
da79c5073b
commit
299fe20d80
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue