summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-02-09 13:15:47 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-02-09 13:15:46 -0800
commit35f3a9f36e687f5acacc53e0dcac23bddbae6ded (patch)
treef90fca3e7d696ee103978d37d57a71a202ff595b /sound
parentfe3ea7ec96078f463f95f69689dbbe25a096c3db (diff)
parentf6b81b6db197383b32fa1bcb5737369ba72e4e6b (diff)
Merge "ASoC: msm: remove wrong return statement"
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/msm/msm8998.c1
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",