]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - sound/soc/soc-topology.c
Merge remote-tracking branches 'asoc/topic/tlv320aic3x', 'asoc/topic/topology', ...
[karo-tx-linux.git] / sound / soc / soc-topology.c
index 8419edb9d8f94fb17af64782e11c024760099f76..aff3d8129ac965376deea8618ae81727db41cbfa 100644 (file)
@@ -1871,7 +1871,7 @@ static int soc_tplg_pcm_elems_load(struct soc_tplg *tplg,
 {
        struct snd_soc_tplg_pcm *pcm, *_pcm;
        int count = hdr->count;
-       int i, err;
+       int i;
        bool abi_match;
 
        if (tplg->pass != SOC_TPLG_PASS_PCM_DAI)
@@ -1905,7 +1905,7 @@ static int soc_tplg_pcm_elems_load(struct soc_tplg *tplg,
                        _pcm = pcm;
                } else {
                        abi_match = false;
-                       err = pcm_new_ver(tplg, pcm, &_pcm);
+                       pcm_new_ver(tplg, pcm, &_pcm);
                }
 
                /* create the FE DAIs and DAI links */