1
0
Fork 0

ASoC: SOF: topology: remove snd_sof_init_topology()

Remove snd_sof_init_topology() as it is never used.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
5.4-rM2-2.2.x-imx-squashed
Ranjani Sridharan 2019-11-05 20:05:11 -08:00 committed by Daniel Baluta
parent 62a6c4c769
commit 67c1304cd5
2 changed files with 0 additions and 11 deletions

View File

@ -542,8 +542,6 @@ int snd_sof_ipc_set_get_comp_data(struct snd_sof_ipc *ipc,
* There is no snd_sof_free_topology since topology components will
* be freed by snd_soc_unregister_component,
*/
int snd_sof_init_topology(struct snd_sof_dev *sdev,
struct snd_soc_tplg_ops *ops);
int snd_sof_load_topology(struct snd_sof_dev *sdev, const char *file);
int snd_sof_complete_pipeline(struct snd_sof_dev *sdev,
struct snd_sof_widget *swidget);

View File

@ -3432,15 +3432,6 @@ static struct snd_soc_tplg_ops sof_tplg_ops = {
.bytes_ext_ops_count = ARRAY_SIZE(sof_bytes_ext_ops),
};
int snd_sof_init_topology(struct snd_sof_dev *sdev,
struct snd_soc_tplg_ops *ops)
{
/* TODO: support linked list of topologies */
sdev->tplg_ops = ops;
return 0;
}
EXPORT_SYMBOL(snd_sof_init_topology);
int snd_sof_load_topology(struct snd_sof_dev *sdev, const char *file)
{
const struct firmware *fw;