aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-04-07 06:49:26 -0400
committerTakashi Iwai <tiwai@suse.de>2011-04-07 06:49:26 -0400
commitad93ffe6e4fc02993987008e4a5dcdcf4c926cd5 (patch)
tree33986b329fdc37d0946865908581152563b3805d /sound/pci
parent35ffe11587fb6e93725d420aa17cf1e7a6bf427f (diff)
ALSA: hda - Fix unused variable warning in patch_realtek.c
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/patch_realtek.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index c22a7ca01997..b1e5eb17f1bc 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -14825,8 +14825,6 @@ static void alc269_toggle_power_output(struct hda_codec *codec, int power_up)
14825 14825
14826static void alc269_shutup(struct hda_codec *codec) 14826static void alc269_shutup(struct hda_codec *codec)
14827{ 14827{
14828 struct alc_spec *spec = codec->spec;
14829
14830 if ((alc_read_coef_idx(codec, 0) & 0x00ff) == 0x017) 14828 if ((alc_read_coef_idx(codec, 0) & 0x00ff) == 0x017)
14831 alc269_toggle_power_output(codec, 0); 14829 alc269_toggle_power_output(codec, 0);
14832 if ((alc_read_coef_idx(codec, 0) & 0x00ff) == 0x018) { 14830 if ((alc_read_coef_idx(codec, 0) & 0x00ff) == 0x018) {