[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190815091534.57780-1-yuehaibing@huawei.com>
Date: Thu, 15 Aug 2019 17:15:34 +0800
From: YueHaibing <yuehaibing@...wei.com>
To: <lgirdwood@...il.com>, <broonie@...nel.org>, <perex@...ex.cz>,
<tiwai@...e.com>, <allison@...utok.net>,
<kstewart@...uxfoundation.org>
CC: <linux-kernel@...r.kernel.org>, <alsa-devel@...a-project.org>,
YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH -next] ASoC: tlv320aic23: remove unused variable 'tlv320aic23_rec_src'
sound/soc/codecs/tlv320aic23.c:70:29: warning:
tlv320aic23_rec_src defined but not used [-Wunused-const-variable=]
It is never used, so can be removed.
Reported-by: Hulk Robot <hulkci@...wei.com>
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
sound/soc/codecs/tlv320aic23.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sound/soc/codecs/tlv320aic23.c b/sound/soc/codecs/tlv320aic23.c
index 080a840..f8e2f4b 100644
--- a/sound/soc/codecs/tlv320aic23.c
+++ b/sound/soc/codecs/tlv320aic23.c
@@ -67,8 +67,6 @@ static SOC_ENUM_SINGLE_DECL(rec_src_enum,
static const struct snd_kcontrol_new tlv320aic23_rec_src_mux_controls =
SOC_DAPM_ENUM("Input Select", rec_src_enum);
-static SOC_ENUM_SINGLE_DECL(tlv320aic23_rec_src,
- TLV320AIC23_ANLG, 2, rec_src_text);
static SOC_ENUM_SINGLE_DECL(tlv320aic23_deemph,
TLV320AIC23_DIGT, 1, deemph_text);
--
2.7.4
Powered by blists - more mailing lists