Ver Fonte

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 <elise.lennion@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Elise Lennion há 8 anos atrás
pai
commit
3f98afe0b6
1 ficheiros alterados com 0 adições e 1 exclusões
  1. 0 1
      drivers/staging/greybus/audio_codec.c

+ 0 - 1
drivers/staging/greybus/audio_codec.c

@@ -405,7 +405,6 @@ static void gbcodec_shutdown(struct snd_pcm_substream *substream,
 	params->state = GBAUDIO_CODEC_SHUTDOWN;
 	params->state = GBAUDIO_CODEC_SHUTDOWN;
 	mutex_unlock(&codec->lock);
 	mutex_unlock(&codec->lock);
 	pm_relax(dai->dev);
 	pm_relax(dai->dev);
-	return;
 }
 }
 
 
 static int gbcodec_hw_params(struct snd_pcm_substream *substream,
 static int gbcodec_hw_params(struct snd_pcm_substream *substream,