From: Takashi Iwai Date: Thu, 7 Apr 2011 10:49:26 +0000 (+0200) Subject: ALSA: hda - Fix unused variable warning in patch_realtek.c X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ad93ffe6e4fc02993987008e4a5dcdcf4c926cd5;p=openwrt%2Fstaging%2Fblogic.git ALSA: hda - Fix unused variable warning in patch_realtek.c Signed-off-by: Takashi Iwai --- 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) 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) {