]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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 1bdf84925d223d776f7d998e58f6b2320a0c4ea5..f8862c6d71026ccc5ab793da69da01dc875b51d3 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,