Browse Source

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>
Codrut Grosu 8 years ago
parent
commit
17339f6099
2 changed files with 0 additions and 2 deletions
  1. 0 1
      sound/soc/pxa/mmp-pcm.c
  2. 0 1
      sound/soc/pxa/mmp-sspa.c

+ 0 - 1
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,

+ 0 - 1
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;
 }
 
 /*