[alsa-devel] [PATCH 1/2] ASoC: pcm1792a: Remove empty capture DAI stub
Mark Brown
broonie at kernel.org
Tue Aug 13 19:30:47 CEST 2013
From: Mark Brown <broonie at linaro.org>
These intialisations are just what will be done for static data anyway so
remove them.
Signed-off-by: Mark Brown <broonie at linaro.org>
---
sound/soc/codecs/pcm1792a.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/sound/soc/codecs/pcm1792a.c b/sound/soc/codecs/pcm1792a.c
index 72cf835..c57d3a5 100644
--- a/sound/soc/codecs/pcm1792a.c
+++ b/sound/soc/codecs/pcm1792a.c
@@ -162,10 +162,6 @@ static struct snd_soc_dai_driver pcm1792a_dai = {
.channels_max = 2,
.rates = PCM1792A_RATES,
.formats = PCM1792A_FORMATS, },
- .capture = {
- .channels_min = 0,
- .channels_max = 0,
- },
.ops = &pcm1792a_dai_ops,
};
--
1.8.4.rc2
More information about the Alsa-devel
mailing list