From a0c60a30be3f83631812d0fc7f24786340524420 Mon Sep 17 00:00:00 2001 From: Adrian Warecki Date: Thu, 29 Feb 2024 13:11:35 +0100 Subject: [PATCH] modules: Remove unused module_entry_point from module_data The value assigned to the module_entry_point field in the module_data structure wasn't used anywhere. This field has been removed. Signed-off-by: Adrian Warecki --- src/audio/module_adapter/module/modules.c | 1 - src/include/module/module/base.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/audio/module_adapter/module/modules.c b/src/audio/module_adapter/module/modules.c index 476dd4509754..52b4798fd1dd 100644 --- a/src/audio/module_adapter/module/modules.c +++ b/src/audio/module_adapter/module/modules.c @@ -85,7 +85,6 @@ static int modules_init(struct processing_module *mod) system_agent = system_agent_start(module_entry_point, module_id, instance_id, 0, log_handle, &mod_cfg); module_set_private_data(mod, system_agent); - md->module_entry_point = module_entry_point; md->mpd.in_buff_size = src_cfg->ibs; md->mpd.out_buff_size = src_cfg->obs; diff --git a/src/include/module/module/base.h b/src/include/module/module/base.h index 16db091abd7d..8eb98dd13476 100644 --- a/src/include/module/module/base.h +++ b/src/include/module/module/base.h @@ -60,7 +60,6 @@ struct module_data { void *runtime_params; struct module_memory memory; /**< memory allocated by module */ struct module_processing_data mpd; /**< shared data comp <-> module */ - uintptr_t module_entry_point; /**