summaryrefslogtreecommitdiffstats
path: root/sound/soc/pxa
diff options
context:
space:
mode:
authorCodrut Grosu <codrut.cristian.grosu@gmail.com>2017-02-25 23:06:36 +0200
committerMark Brown <broonie@kernel.org>2017-03-07 14:28:42 +0100
commit17339f6099154678485244cc17d700f19ece0dc0 (patch)
tree155f7e75897d1a929de9c5d5d79efe4d81a0d036 /sound/soc/pxa
parent672e3cbe783e2f3f40bdc19e5cb09accdd3e4b6b (diff)
downloadlinux-17339f6099154678485244cc17d700f19ece0dc0.tar.gz
linux-17339f6099154678485244cc17d700f19ece0dc0.tar.bz2
linux-17339f6099154678485244cc17d700f19ece0dc0.zip
ASoC: pxa: Remove unneeded return statement in void function
This was reported by checkpatch.pl Signed-off-by: Codrut Grosu <codrut.cristian.grosu@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/pxa')
-rw-r--r--sound/soc/pxa/mmp-pcm.c1
-rw-r--r--sound/soc/pxa/mmp-sspa.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/pxa/mmp-pcm.c b/sound/soc/pxa/mmp-pcm.c
index 96df9b2d8fc4..5b5f1a442891 100644
--- a/sound/soc/pxa/mmp-pcm.c
+++ b/sound/soc/pxa/mmp-pcm.c
@@ -166,7 +166,6 @@ static void mmp_pcm_free_dma_buffers(struct snd_pcm *pcm)
buf->area = NULL;
}
- return;
}
static int mmp_pcm_preallocate_dma_buffer(struct snd_pcm_substream *substream,
diff --git a/sound/soc/pxa/mmp-sspa.c b/sound/soc/pxa/mmp-sspa.c
index ca8b23f8c525..9cc35012e6e5 100644
--- a/sound/soc/pxa/mmp-sspa.c
+++ b/sound/soc/pxa/mmp-sspa.c
@@ -119,7 +119,6 @@ static void mmp_sspa_shutdown(struct snd_pcm_substream *substream,
clk_disable(priv->sspa->clk);
clk_disable(priv->sysclk);
- return;
}
/*