projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e22e9d
)
ASoC: pxa: Remove unneeded else after return statement
author
Codrut Grosu
<codrut.cristian.grosu@gmail.com>
Sat, 25 Feb 2017 21:26:56 +0000
(23:26 +0200)
committer
Mark Brown
<broonie@kernel.org>
Tue, 7 Mar 2017 13:27:43 +0000
(14:27 +0100)
This was reported by checkpatch.pl
Signed-off-by: Codrut Grosu <codrut.cristian.grosu@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/pxa/pxa2xx-ac97.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/pxa/pxa2xx-ac97.c
b/sound/soc/pxa/pxa2xx-ac97.c
index 2e2fb1838ec2531ba7a6c113b6c051349ff2f961..f49bf02e5ec2426f8462fc195746bd268a53cde6 100644
(file)
--- a/
sound/soc/pxa/pxa2xx-ac97.c
+++ b/
sound/soc/pxa/pxa2xx-ac97.c
@@
-140,9
+140,8
@@
static int pxa2xx_ac97_mic_startup(struct snd_pcm_substream *substream,
{
if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
return -ENODEV;
- else
- snd_soc_dai_set_dma_data(cpu_dai, substream,
- &pxa2xx_ac97_pcm_mic_mono_in);
+ snd_soc_dai_set_dma_data(cpu_dai, substream,
+ &pxa2xx_ac97_pcm_mic_mono_in);
return 0;
}