Skip to content

Commit

Permalink
schedule: remove a redundant function argument
Browse files Browse the repository at this point in the history
Remove the pipe_task argument from several functions in
zephyr_dma_domain.c

Signed-off-by: Guennadi Liakhovetski <[email protected]>
  • Loading branch information
lyakh committed Jul 27, 2023
1 parent 4f3ae65 commit e1b09a4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/schedule/zephyr_dma_domain.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
}
Expand Down

0 comments on commit e1b09a4

Please sign in to comment.