staging: greybus: audio_codec: Remove useless return statement.
authorElise Lennion <elise.lennion@gmail.com>
Thu, 13 Oct 2016 22:40:04 +0000 (19:40 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:27:35 +0000 (10:27 +0200)
Remove return statement that is immediately followed by the function
closing bracket.

Signed-off-by: Elise Lennion <elise.lennion@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/audio_codec.c

index 1bdf849..f8862c6 100644 (file)
@@ -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,