diff options
author | Jason Yan <yanaijie@huawei.com> | 2020-04-10 10:11:16 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-04-14 16:45:20 +0200 |
commit | acda42b30fa6b67f07b4560577418df5ada77b52 (patch) | |
tree | b2a77c4f2c3f64ddcb4b40392098e4e315431959 /sound/soc | |
parent | ASoC: amd: Fix button configuration (diff) | |
download | linux-acda42b30fa6b67f07b4560577418df5ada77b52.tar.xz linux-acda42b30fa6b67f07b4560577418df5ada77b52.zip |
ASoC: intel: soc-acpi-intel-icl-match: remove useless 'rt1308_2_adr'
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>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200410081117.21319-1-yanaijie@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/intel/common/soc-acpi-intel-icl-match.c | 8 |
1 files changed, 0 insertions, 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, |