Skip to content

Commit

Permalink
audio: delete duplicate set of drv
Browse files Browse the repository at this point in the history
comp_alloc does this

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
  • Loading branch information
cujomalainey authored and lgirdwood committed Sep 26, 2024
1 parent 3304e6f commit a4e0778
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/audio/google/google_hotword_detect.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ static struct comp_dev *ghd_create(const struct comp_driver *drv,
if (!dev)
return NULL;

dev->drv = drv;
dev->ipc_config = *config;

/* Create private component data */
Expand Down
1 change: 0 additions & 1 deletion src/audio/module_adapter/module_adapter.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ struct comp_dev *module_adapter_new(const struct comp_driver *drv,
return NULL;
}
dev->ipc_config = *config;
dev->drv = drv;

/* allocate module information.
* for DP shared modules this struct must be accessible from all cores
Expand Down

0 comments on commit a4e0778

Please sign in to comment.