* [PATCH -next] ALSA: hda/sigmatel - remove unused variable 'stac9200_core_init'
@ 2019-08-13 14:43 YueHaibing
2019-08-13 15:44 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2019-08-13 14:43 UTC (permalink / raw)
To: perex, tiwai, pierre-louis.bossart, broonie
Cc: linux-kernel, alsa-devel, YueHaibing
sound/pci/hda/patch_sigmatel.c:981:30: warning:
stac9200_core_init defined but not used [-Wunused-const-variable=]
It is never used, so can be removed.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
sound/pci/hda/patch_sigmatel.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 0d9b627..894f3f5 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -975,15 +975,6 @@ static int stac_create_spdif_mux_ctls(struct hda_codec *codec)
return 0;
}
-/*
- */
-
-static const struct hda_verb stac9200_core_init[] = {
- /* set dac0mux for dac converter */
- { 0x07, AC_VERB_SET_CONNECT_SEL, 0x00},
- {}
-};
-
static const struct hda_verb stac9200_eapd_init[] = {
/* set dac0mux for dac converter */
{0x07, AC_VERB_SET_CONNECT_SEL, 0x00},
--
2.7.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH -next] ALSA: hda/sigmatel - remove unused variable 'stac9200_core_init'
2019-08-13 14:43 [PATCH -next] ALSA: hda/sigmatel - remove unused variable 'stac9200_core_init' YueHaibing
@ 2019-08-13 15:44 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2019-08-13 15:44 UTC (permalink / raw)
To: YueHaibing
Cc: broonie, pierre-louis.bossart, perex, Takashi Iwai, alsa-devel,
linux-kernel
On Tue, 13 Aug 2019 16:43:23 +0200,
YueHaibing wrote:
>
> sound/pci/hda/patch_sigmatel.c:981:30: warning:
> stac9200_core_init defined but not used [-Wunused-const-variable=]
>
> It is never used, so can be removed.
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Applied, thanks.
Takashi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-13 15:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-13 14:43 [PATCH -next] ALSA: hda/sigmatel - remove unused variable 'stac9200_core_init' YueHaibing
2019-08-13 15:44 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®