mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 14:02:10 +00:00
ASoC: pxa: Remove unneeded else after return statement
This was reported by checkpatch.pl Signed-off-by: Codrut Grosu <codrut.cristian.grosu@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
3e22e9d702
commit
291aaff0c6
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user