diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-01-20 06:14:12 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-01-20 06:14:12 -0500 |
commit | cb0cdebbf8b834110ef67ed9335d5bafed7835df (patch) | |
tree | b04432bad1c79e07f262b2c08cd7a70b223b6ddb /sound | |
parent | b9ecc4ee28a5ff5b3997da247cd9df1320c602a9 (diff) |
ALSA: hda - Fix a unused variable warning
Just overlooked.
sound/pci/hda/patch_realtek.c: In function ‘alc_sku_unsol_event’:
sound/pci/hda/patch_realtek.c:643:19: warning: unused variable ‘spec’ [-Wunused-variable]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index ddbed9705ef4..c95c8bde12d0 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -640,7 +640,6 @@ static void alc_exec_unsol_event(struct hda_codec *codec, int action) | |||
640 | /* unsolicited event for HP jack sensing */ | 640 | /* unsolicited event for HP jack sensing */ |
641 | static void alc_sku_unsol_event(struct hda_codec *codec, unsigned int res) | 641 | static void alc_sku_unsol_event(struct hda_codec *codec, unsigned int res) |
642 | { | 642 | { |
643 | struct alc_spec *spec = codec->spec; | ||
644 | if (codec->vendor_id == 0x10ec0880) | 643 | if (codec->vendor_id == 0x10ec0880) |
645 | res >>= 28; | 644 | res >>= 28; |
646 | else | 645 | else |