All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] staging: greybus: audio_codec: Remove useless return statement.
@ 2016-10-13 22:40 Elise Lennion
  0 siblings, 0 replies; only message in thread
From: Elise Lennion @ 2016-10-13 22:40 UTC (permalink / raw)
  To: vaibhav.sr, mgreer, johan, elder, gregkh, outreachy-kernel

Remove return statement that is immediately followed by the function
closing bracket.

Signed-off-by: Elise Lennion <elise.lennion@gmail.com>
---

 v2: Add file name to the patch subject name.
  Rewrite git log message.

 drivers/staging/greybus/audio_codec.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/greybus/audio_codec.c b/drivers/staging/greybus/audio_codec.c
index 1bdf849..f8862c6 100644
--- a/drivers/staging/greybus/audio_codec.c
+++ b/drivers/staging/greybus/audio_codec.c
@@ -405,7 +405,6 @@ static void gbcodec_shutdown(struct snd_pcm_substream *substream,
 	params->state = GBAUDIO_CODEC_SHUTDOWN;
 	mutex_unlock(&codec->lock);
 	pm_relax(dai->dev);
-	return;
 }
 
 static int gbcodec_hw_params(struct snd_pcm_substream *substream,
-- 
2.7.4



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-13 22:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-13 22:40 [PATCH v2 1/2] staging: greybus: audio_codec: Remove useless return statement Elise Lennion

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.