zephyr: ll-schedule: stop using zephyr/timeout_q.h

Replace the call to z_abort_timeout() to be able to drop
dependency to timeout_q.h. This header is intended to be Zephyr
kernel private and plan is to remove this.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
This commit is contained in:
Kai Vehmanen 2023-09-04 19:41:46 +03:00 committed by Kai Vehmanen
parent 2a7a94d238
commit e32329a03f
1 changed files with 1 additions and 2 deletions

View File

@ -23,7 +23,6 @@
#include <zephyr/kernel.h>
#include <zephyr/sys_clock.h>
#include <zephyr/timeout_q.h>
LOG_MODULE_DECLARE(ll_schedule, CONFIG_SOF_LOG_LEVEL);
@ -112,7 +111,7 @@ static void zephyr_domain_timer_fn(struct k_timer *timer)
* registered again next time.
*/
if (!zephyr_domain) {
z_abort_timeout(&timer->timeout);
k_timer_stop(timer);
return;
}