Commit 291aaff0 authored by Codrut Grosu's avatar Codrut Grosu Committed by Mark Brown

ASoC: pxa: Remove unneeded else after return statement

This was reported by checkpatch.pl
Signed-off-by: default avatarCodrut Grosu <codrut.cristian.grosu@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3e22e9d7
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment