aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCodrut Grosu <codrut.cristian.grosu@gmail.com>2017-02-25 16:06:36 -0500
committerMark Brown <broonie@kernel.org>2017-03-07 08:28:42 -0500
commit17339f6099154678485244cc17d700f19ece0dc0 (patch)
tree155f7e75897d1a929de9c5d5d79efe4d81a0d036
parent672e3cbe783e2f3f40bdc19e5cb09accdd3e4b6b (diff)
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>
-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)
166 buf->area = NULL; 166 buf->area = NULL;
167 } 167 }
168 168
169 return;
170} 169}
171 170
172static int mmp_pcm_preallocate_dma_buffer(struct snd_pcm_substream *substream, 171static 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,
119 clk_disable(priv->sspa->clk); 119 clk_disable(priv->sspa->clk);
120 clk_disable(priv->sysclk); 120 clk_disable(priv->sysclk);
121 121
122 return;
123} 122}
124 123
125/* 124/*