Skip to content

Commit de5bfbf

Browse files
committed
module_adapter: Remove modules_shim_new()
This is dead code: just a wrapper around module_adapter_new(), which is a public API already in use. Presumably a forgotten relic. Remove. Signed-off-by: Andy Ross <andyross@google.com>
1 parent 6102aac commit de5bfbf

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

src/audio/module_adapter/module/modules.c

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -245,23 +245,3 @@ const struct module_interface processing_module_adapter_interface = {
245245
.reset = modules_reset,
246246
.free = modules_free,
247247
};
248-
249-
/**
250-
* \brief Create a module adapter component.
251-
* \param[in] drv - component driver pointer.
252-
* \param[in] config - component ipc descriptor pointer.
253-
* \param[in] spec - pointer to module configuration data
254-
*
255-
* \return: a pointer to newly created module adapter component on success. NULL on error.
256-
*
257-
* \note: For dynamically loaded module the spec size is not known by base FW, since this is
258-
* loaded module specific information. Therefore configuration size is required here.
259-
* New module details are discovered during its loading, therefore comp_driver initialisation
260-
* happens at this point.
261-
*/
262-
struct comp_dev *modules_shim_new(const struct comp_driver *drv,
263-
const struct comp_ipc_config *config,
264-
const void *spec)
265-
{
266-
return module_adapter_new(drv, config, spec);
267-
}

0 commit comments

Comments
 (0)