mirror of https://github.com/thesofproject/sof.git
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:
parent
78619c583f
commit
ba07a1474e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue