Skip to contentSkip to conversation

staging: greybus: audio_codec: Remove useless return statement.

PATCH In review Elise Lennion 1 participant 1 message Oct 13, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 staging: greybus: audio_codec: Remove useless return statement.

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

---

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(-)
drivers/staging/greybus/audio_codec.c +0 -1
index 1bdf849..f8862c6 100644
@@ -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,
Signature · 1 line
2.7.4