ipc4: remove get_comp()

This function is not used anymore, remove it.

Signed-off-by: Chao Song <chao.song@linux.intel.com>
This commit is contained in:
Chao Song 2023-08-18 14:15:09 +08:00 committed by Liam Girdwood
parent 78619c583f
commit ba07a1474e
1 changed files with 0 additions and 10 deletions

View File

@ -142,16 +142,6 @@ struct comp_dev *comp_new_ipc4(struct ipc4_module_init_instance *module_init)
return dev;
}
static struct ipc_comp_dev *get_comp(struct ipc *ipc, uint16_t type, uint32_t id)
{
struct ipc_comp_dev *c = ipc_get_comp_by_id(ipc, id);
if (c && c->type == type)
return c;
return NULL;
}
struct ipc_comp_dev *ipc_get_comp_by_ppl_id(struct ipc *ipc, uint16_t type, uint32_t ppl_id)
{
struct ipc_comp_dev *icd;