Skip to content

Commit

Permalink
module_adapter: modules: Remove unused sys_service pointer
Browse files Browse the repository at this point in the history
The unused sys_service field has been removed from the processing_module
structure. It was never initialized anywhere, and its value was passed as
a parameter to the native_system_agent_start function which did not use it.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
  • Loading branch information
softwarecki committed Apr 3, 2024
1 parent 82eed87 commit f1855e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/library_manager/lib_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -540,8 +540,7 @@ static struct comp_dev *lib_manager_module_create(const struct comp_driver *drv,
/* Intel modules expects DW size here */
mod_cfg.size = args->size >> 2;

((struct comp_driver *)drv)->adapter_ops = native_system_agent_start(NULL,
module_entry_point,
((struct comp_driver *)drv)->adapter_ops = native_system_agent_start(module_entry_point,
module_id, instance_id,
0, log_handle,
&mod_cfg);
Expand Down

0 comments on commit f1855e2

Please sign in to comment.