staging: greybus: Remove useless return statement.
Subsystems (3)
PATCH 4/7 staging: greybus: Remove useless return statement.
Fix checkpatch warning:
WARNING: void function return statements are not generally useful
This return statement is immediately followed by the closing bracket of the function and serves no purpose.
Signed-off-by Elise Lennion <[email protected]>
--- 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