From 3f98afe0b6d6d8d7a72461f9b13da122fe08d20e Mon Sep 17 00:00:00 2001 From: Elise Lennion Date: Thu, 13 Oct 2016 19:40:04 -0300 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- 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 1bdf84925d22..f8862c6d7102 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.20.1