topology: coverity - remove dead code

This commit is contained in:
Jaroslav Kysela 2017-02-27 09:46:18 +01:00
parent b96f6f4785
commit db0e1dcfc2
3 changed files with 10 additions and 14 deletions

View file

@ -917,7 +917,7 @@ int tplg_build_manifest_data(snd_tplg_t *tplg)
list_for_each(pos, base) {
ref = list_entry(pos, struct tplg_ref, list);
if (ref->id == NULL || ref->elem)
if (ref->elem)
continue;
if (ref->type == SND_TPLG_TYPE_DATA) {