diff options
| author | Banajit Goswami <bgoswami@codeaurora.org> | 2017-02-01 15:51:00 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-02-06 12:37:19 -0800 |
| commit | f6b81b6db197383b32fa1bcb5737369ba72e4e6b (patch) | |
| tree | 0b318a1c14c281f7806144feb2acad3a6e56bb40 | |
| parent | 20e1ed9259bf1c7c40b76b13d74d476608cc1d49 (diff) | |
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.
CRs-Fixed: 2001289
Change-Id: I197806f008d40b686a28de44efc5cc6cc16b16e3
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
| -rw-r--r-- | sound/soc/msm/msm8998.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/msm/msm8998.c b/sound/soc/msm/msm8998.c index 391640d53d56..f03e63a644fd 100644 --- a/sound/soc/msm/msm8998.c +++ b/sound/soc/msm/msm8998.c @@ -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_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", |
