ASoC: pxa: Remove unneeded return statement in void function
authorCodrut Grosu <codrut.cristian.grosu@gmail.com>
Sat, 25 Feb 2017 21:06:36 +0000 (23:06 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 7 Mar 2017 13:28:42 +0000 (14:28 +0100)
This was reported by checkpatch.pl

Signed-off-by: Codrut Grosu <codrut.cristian.grosu@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/pxa/mmp-pcm.c
sound/soc/pxa/mmp-sspa.c

index 96df9b2d8fc47f9d2305dc322a764542d1ff477a..5b5f1a442891ab8b2f9afbfb4fedcb4218bc0dac 100644 (file)
@@ -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,
index ca8b23f8c525e7b0c1f510ca8f647d607f537b12..9cc35012e6e5904f39673da1e5c116f068dc90c5 100644 (file)
@@ -119,7 +119,6 @@ static void mmp_sspa_shutdown(struct snd_pcm_substream *substream,
        clk_disable(priv->sspa->clk);
        clk_disable(priv->sysclk);
 
-       return;
 }
 
 /*