Skip to content

Commit 3ae92b4

Browse files
committed
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 <adrian.warecki@intel.com>
1 parent 97d5e10 commit 3ae92b4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/audio/module_adapter/module/modules.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ static int modules_init(struct processing_module *mod)
7878
comp_err(dev, "modules_init(), lib_manager_allocate_module() failed!");
7979
return -EINVAL;
8080
}
81-
md->module_entry_point = module_entry_point;
81+
8282
comp_info(dev, "modules_init() start");
8383

8484
uint32_t module_id = IPC4_MOD_ID(dev->ipc_config.id);
@@ -114,7 +114,7 @@ static int modules_init(struct processing_module *mod)
114114
mod_buildinfo->api_version_number.full == SOF_MODULE_API_CURRENT_VERSION) {
115115
/* If start agent for sof loadable */
116116
is_native_sof = true;
117-
md->ops = native_system_agent_start(md->module_entry_point, module_id,
117+
md->ops = native_system_agent_start(module_entry_point, module_id,
118118
instance_id, 0, log_handle, &mod_cfg);
119119
} else
120120
return -ENOEXEC;

src/include/module/module/base.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ struct module_data {
5959
const struct module_interface *ops; /**< module specific operations */
6060
struct module_memory memory; /**< memory allocated by module */
6161
struct module_processing_data mpd; /**< shared data comp <-> module */
62-
uint32_t module_entry_point; /**<loadable module entry point address */
6362
#endif /* SOF_MODULE_PRIVATE */
6463
};
6564

0 commit comments

Comments
 (0)