summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus
diff options
context:
space:
mode:
authorElise Lennion <elise.lennion@gmail.com>2016-10-13 19:40:04 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-16 10:27:35 +0200
commit3f98afe0b6d6d8d7a72461f9b13da122fe08d20e (patch)
tree954de3bc1bf3b0c9e0775b59a51fa2acb8283228 /drivers/staging/greybus
parent3b438f2ca9bbf43718b6155bdd9d4841eebb63ab (diff)
downloadblackbird-op-linux-3f98afe0b6d6d8d7a72461f9b13da122fe08d20e.tar.gz
blackbird-op-linux-3f98afe0b6d6d8d7a72461f9b13da122fe08d20e.zip
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>
Diffstat (limited to 'drivers/staging/greybus')
-rw-r--r--drivers/staging/greybus/audio_codec.c1
1 files changed, 0 insertions, 1 deletions
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,
OpenPOWER on IntegriCloud