Skip to content

Commit

Permalink
modules: Remove unused buffers
Browse files Browse the repository at this point in the history
The code allocating/freeing in_buff and out_buff buffers, which were not
used, was removed from the processing module adapter.

Signed-off-by: Adrian Warecki <[email protected]>
  • Loading branch information
softwarecki committed Apr 3, 2024
1 parent 3cf7e41 commit c11b571
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/audio/module_adapter/module/modules.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,13 @@ static int modules_process(struct processing_module *mod,
static int modules_free(struct processing_module *mod)
{
struct comp_dev *dev = mod->dev;
struct module_data *md = &mod->priv;
int ret;

comp_info(dev, "modules_free()");
ret = iadk_wrapper_free(module_get_private_data(mod));
if (ret)
comp_err(dev, "modules_free(): iadk_wrapper_free failed with error: %d", ret);


/* Free module resources allocated in L2 memory. */
ret = lib_manager_free_module(dev->ipc_config.id);
if (ret < 0)
Expand Down

0 comments on commit c11b571

Please sign in to comment.