Merge "ASoC: msm: remove wrong return statement"

This commit is contained in:
Linux Build Service Account 2017-02-09 13:15:47 -08:00 committed by Gerrit - the friendly Code Review server
commit 35f3a9f36e

View file

@ -3809,7 +3809,6 @@ static int msm_aux_pcm_snd_startup(struct snd_pcm_substream *substream)
struct snd_soc_pcm_runtime *rtd = substream->private_data; struct snd_soc_pcm_runtime *rtd = substream->private_data;
struct snd_soc_dai *cpu_dai = rtd->cpu_dai; struct snd_soc_dai *cpu_dai = rtd->cpu_dai;
int index = cpu_dai->id - 1; int index = cpu_dai->id - 1;
return ret = 0;
dev_dbg(rtd->card->dev, dev_dbg(rtd->card->dev,
"%s: substream = %s stream = %d, dai name %s, dai ID %d\n", "%s: substream = %s stream = %d, dai name %s, dai ID %d\n",