ALSA: hda/sigmatel - remove unused variable 'stac9200_core_init'
authorYueHaibing <yuehaibing@huawei.com>
Tue, 13 Aug 2019 14:43:23 +0000 (22:43 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Aug 2019 15:44:48 +0000 (17:44 +0200)
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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c

index 0d9b627682418aede4188a31adc72cb42dd88f02..894f3f509e767635b4f0aef6507a1bbddc551c15 100644 (file)
@@ -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},