alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ASoC: intel: soc-acpi-intel-icl-match: remove useless 'rt1308_2_adr'
@ 2020-04-10  8:11 Jason Yan
  2020-04-10  8:11 ` [PATCH 2/2] ASoC: Intel: soc-acpi-intel-cml-match: " Jason Yan
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jason Yan @ 2020-04-10  8:11 UTC (permalink / raw)
  To: cezary.rojewski, pierre-louis.bossart, liam.r.girdwood, yang.jie,
	broonie, perex, tiwai, yung-chuan.liao, ranjani.sridharan,
	rander.wang, christophe.jaillet, yanaijie, alsa-devel

Fix the following gcc warning:

sound/soc/intel/common/soc-acpi-intel-icl-match.c:90:45: warning:
‘rt1308_2_adr’ defined but not used [-Wunused-const-variable=]
 static const struct snd_soc_acpi_adr_device rt1308_2_adr[] = {
                                             ^~~~~~~~~~~~

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
---
 sound/soc/intel/common/soc-acpi-intel-icl-match.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/sound/soc/intel/common/soc-acpi-intel-icl-match.c b/sound/soc/intel/common/soc-acpi-intel-icl-match.c
index ef8500349f2f..16ec9f382b0f 100644
--- a/sound/soc/intel/common/soc-acpi-intel-icl-match.c
+++ b/sound/soc/intel/common/soc-acpi-intel-icl-match.c
@@ -87,14 +87,6 @@ static const struct snd_soc_acpi_adr_device rt1308_1_adr[] = {
 	}
 };
 
-static const struct snd_soc_acpi_adr_device rt1308_2_adr[] = {
-	{
-		.adr = 0x000210025D130800,
-		.num_endpoints = 1,
-		.endpoints = &single_endpoint,
-	}
-};
-
 static const struct snd_soc_acpi_adr_device rt1308_1_group1_adr[] = {
 	{
 		.adr = 0x000110025D130800,
-- 
2.17.2


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-14 14:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-10  8:11 [PATCH 1/2] ASoC: intel: soc-acpi-intel-icl-match: remove useless 'rt1308_2_adr' Jason Yan
2020-04-10  8:11 ` [PATCH 2/2] ASoC: Intel: soc-acpi-intel-cml-match: " Jason Yan
2020-04-14 14:46   ` Applied "ASoC: Intel: soc-acpi-intel-cml-match: remove useless 'rt1308_2_adr'" to the asoc tree Mark Brown
2020-04-10 15:17 ` [PATCH 1/2] ASoC: intel: soc-acpi-intel-icl-match: remove useless 'rt1308_2_adr' Pierre-Louis Bossart
2020-04-14 14:46 ` Applied "ASoC: intel: soc-acpi-intel-icl-match: remove useless 'rt1308_2_adr'" to the asoc tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).