summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/audio_codec.c
diff options
context:
space:
mode:
authorElise Lennion2016-10-14 00:40:04 +0200
committerGreg Kroah-Hartman2016-10-16 10:27:35 +0200
commit3f98afe0b6d6d8d7a72461f9b13da122fe08d20e (patch)
tree954de3bc1bf3b0c9e0775b59a51fa2acb8283228 /drivers/staging/greybus/audio_codec.c
parentStaging: wilc1000: Compress return logic into one line (diff)
downloadkernel-qcow2-linux-3f98afe0b6d6d8d7a72461f9b13da122fe08d20e.tar.gz
kernel-qcow2-linux-3f98afe0b6d6d8d7a72461f9b13da122fe08d20e.tar.xz
kernel-qcow2-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/audio_codec.c')
-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,