]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
ALSA: hda - Fix unused variable warning in patch_realtek.c
authorTakashi Iwai <tiwai@suse.de>
Thu, 7 Apr 2011 10:49:26 +0000 (12:49 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 7 Apr 2011 10:49:26 +0000 (12:49 +0200)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index c22a7ca0199734869b79311970e746b7563a7c2a..b1e5eb17f1bc22ac75370ed0fe51c6c4c0df7505 100644 (file)
@@ -14825,8 +14825,6 @@ static void alc269_toggle_power_output(struct hda_codec *codec, int power_up)
 
 static void alc269_shutup(struct hda_codec *codec)
 {
-       struct alc_spec *spec = codec->spec;
-
        if ((alc_read_coef_idx(codec, 0) & 0x00ff) == 0x017)
                alc269_toggle_power_output(codec, 0);
        if ((alc_read_coef_idx(codec, 0) & 0x00ff) == 0x018) {