All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: pxa: Remove unneeded return statement in void function
@ 2017-02-25 21:06 ` Codrut Grosu
  0 siblings, 0 replies; 2+ messages in thread
From: Codrut Grosu @ 2017-02-25 21:06 UTC (permalink / raw)
  To: perex, daniel, robert.jarzmik, haojian.zhuang, tiwai
  Cc: lgirdwood, broonie, alsa-devel, linux-kernel, linux-arm-kernel,
	Codrut Grosu

This was reported by checkpatch.pl

Signed-off-by: Codrut Grosu <codrut.cristian.grosu@gmail.com>
---
 sound/soc/pxa/mmp-pcm.c  | 1 -
 sound/soc/pxa/mmp-sspa.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/sound/soc/pxa/mmp-pcm.c b/sound/soc/pxa/mmp-pcm.c
index 96df9b2..5b5f1a4 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 ca8b23f..9cc3501 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;
 }

 /*
--
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ASoC: pxa: Remove unneeded return statement in void function
@ 2017-02-25 21:06 ` Codrut Grosu
  0 siblings, 0 replies; 2+ messages in thread
From: Codrut Grosu @ 2017-02-25 21:06 UTC (permalink / raw)
  To: linux-arm-kernel

This was reported by checkpatch.pl

Signed-off-by: Codrut Grosu <codrut.cristian.grosu@gmail.com>
---
 sound/soc/pxa/mmp-pcm.c  | 1 -
 sound/soc/pxa/mmp-sspa.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/sound/soc/pxa/mmp-pcm.c b/sound/soc/pxa/mmp-pcm.c
index 96df9b2..5b5f1a4 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 ca8b23f..9cc3501 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;
 }

 /*
--
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-02-25 21:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-25 21:06 [PATCH] ASoC: pxa: Remove unneeded return statement in void function Codrut Grosu
2017-02-25 21:06 ` Codrut Grosu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.