staging: greybus: audio_codec: Remove useless return statement.
Subsystems (3)
PATCH v2 1/2 staging: greybus: audio_codec: Remove useless return statement.
Remove return statement that is immediately followed by the function closing bracket.
Signed-off-by Elise Lennion <[email protected]>
---
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
@@ -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