Skip to content

Commit 8223d87

Browse files
softwareckilgirdwood
authored andcommitted
lib_manager: Remove unnecessary ops.prepare assign
Remove redundant value assignment to ops.prepare in the lib_manager_register_module function. This value is already set by the lib_manager_prepare_module_adapter function. Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
1 parent 12b2cc2 commit 8223d87

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/library_manager/lib_manager.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,6 @@ int lib_manager_register_module(const uint32_t component_id)
649649
build_info->api_version_number.full == IADK_MODULE_API_CURRENT_VERSION) {
650650
/* Use module_adapter functions */
651651
drv->ops.create = module_adapter_new;
652-
drv->ops.prepare = module_adapter_prepare;
653652
} else {
654653
/* Check if module is NOT native */
655654
if (build_info->format != SOF_MODULE_API_BUILD_INFO_FORMAT ||

0 commit comments

Comments
 (0)