Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 717aed81 authored by Banajit Goswami's avatar Banajit Goswami Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: msm: remove wrong return statement



Remove the return statement from msm_aux_pcm_snd_startup function
as it will return from the function unintentionally.

Change-Id: I197806f008d40b686a28de44efc5cc6cc16b16e3
Signed-off-by: default avatarBanajit Goswami <bgoswami@codeaurora.org>
parent 09d14b70
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3796,7 +3796,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_dai *cpu_dai = rtd->cpu_dai;
	int index = cpu_dai->id - 1;
	return ret = 0;

	dev_dbg(rtd->card->dev,
		"%s: substream = %s  stream = %d, dai name %s, dai ID %d\n",
+0 −1
Original line number Diff line number Diff line
@@ -3589,7 +3589,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_dai *cpu_dai = rtd->cpu_dai;
	int index = cpu_dai->id - 1;
	return ret = 0;

	dev_dbg(rtd->card->dev,
		"%s: substream = %s  stream = %d, dai name %s, dai ID %d\n",