]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ALSA: hda - Fix unused variable warnings in patch_sigmatel.c
authorTakashi Iwai <tiwai@suse.de>
Fri, 19 Dec 2008 14:59:40 +0000 (15:59 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 19 Dec 2008 14:59:40 +0000 (15:59 +0100)
Fixed "unused varible" warnings in patch_sigmatel.c that have been
introduced by the last changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c

index 6b7eeba656ed1655750e51e90ebd4d3304a5b6a8..d9a89ced3c89e5327fb5d74a695a81d7040aca45 100644 (file)
@@ -2972,8 +2972,8 @@ static int stac92xx_auto_create_multi_out_ctls(struct hda_codec *codec,
                "Front", "Surround", NULL /*CLFE*/, "Side"
        };
        hda_nid_t nid = 0;
-       int i, err, num_dacs;
-       unsigned int wid_caps, pincap;
+       int i, err;
+       unsigned int wid_caps;
 
        for (i = 0; i < cfg->line_outs && spec->multiout.dac_nids[i]; i++) {
                nid = spec->multiout.dac_nids[i];
@@ -4033,7 +4033,6 @@ static void stac92xx_set_pinctl(struct hda_codec *codec, hda_nid_t nid,
                 * "xxx as Output" mixer switch
                 */
                struct sigmatel_spec *spec = codec->spec;
-               struct auto_pin_cfg *cfg = &spec->autocfg;
                if (nid == spec->line_switch || nid == spec->mic_switch)
                        return;
        }