From e1b09a4d61c68082f14b17b4f3773e190589d418 Mon Sep 17 00:00:00 2001 From: Guennadi Liakhovetski Date: Wed, 26 Jul 2023 16:06:02 +0200 Subject: [PATCH] schedule: remove a redundant function argument Remove the pipe_task argument from several functions in zephyr_dma_domain.c Signed-off-by: Guennadi Liakhovetski --- src/schedule/zephyr_dma_domain.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/schedule/zephyr_dma_domain.c b/src/schedule/zephyr_dma_domain.c index 41b01e3d6200..824180a3d980 100644 --- a/src/schedule/zephyr_dma_domain.c +++ b/src/schedule/zephyr_dma_domain.c @@ -174,7 +174,6 @@ static int enable_dma_irq(struct zephyr_dma_domain_data *data) static int register_dma_irq(struct zephyr_dma_domain *domain, struct zephyr_dma_domain_data **data, struct zephyr_dma_domain_thread *dt, - struct pipeline_task *pipe_task, int core) { struct dma *crt_dma; @@ -280,7 +279,6 @@ static int zephyr_dma_domain_register(struct ll_schedule_domain *domain, ret = register_dma_irq(zephyr_dma_domain, &data, dt, - pipe_task, core); if (ret < 0) { @@ -382,7 +380,6 @@ static void disable_dma_irq(struct zephyr_dma_domain_data *data) } static int unregister_dma_irq(struct zephyr_dma_domain *domain, - struct pipeline_task *pipe_task, int core) { struct zephyr_dma_domain_data *crt_data; @@ -411,9 +408,6 @@ static int unregister_dma_irq(struct zephyr_dma_domain *domain, crt_data->enabled_irq = false; - tr_info(&ll_tr, "unregister_dma_irq(): unregistered IRQ for task %p", - pipe_task); - return 0; } }