From: Mark Brown Date: Tue, 13 Aug 2013 17:29:44 +0000 (+0100) Subject: ASoC: pcm1792a: Remove empty capture DAI stub X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5332e1d26fd182444e15e6481029347ab032d7cb;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git ASoC: pcm1792a: Remove empty capture DAI stub These intialisations are just what will be done for static data anyway so remove them. Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/pcm1792a.c b/sound/soc/codecs/pcm1792a.c index 72cf8353e812..c57d3a5665c5 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, };