Explorar o código

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>
Takashi Iwai %!s(int64=13) %!d(string=hai) anos
pai
achega
cb0cdebbf8
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      sound/pci/hda/patch_realtek.c

+ 0 - 1
sound/pci/hda/patch_realtek.c

@@ -640,7 +640,6 @@ static void alc_exec_unsol_event(struct hda_codec *codec, int action)
 /* unsolicited event for HP jack sensing */
 static void alc_sku_unsol_event(struct hda_codec *codec, unsigned int res)
 {
-	struct alc_spec *spec = codec->spec;
 	if (codec->vendor_id == 0x10ec0880)
 		res >>= 28;
 	else