projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b438f2
)
staging: greybus: audio_codec: Remove useless return statement.
author
Elise Lennion
<
[email protected]
>
Thu, 13 Oct 2016 22:40:04 +0000
(19:40 -0300)
committer
Greg Kroah-Hartman
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/greybus/audio_codec.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/audio_codec.c
b/drivers/staging/greybus/audio_codec.c
index 1bdf84925d223d776f7d998e58f6b2320a0c4ea5..f8862c6d71026ccc5ab793da69da01dc875b51d3 100644
(file)
--- 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,