提交 cb0cdebb 编写于 作者: T Takashi Iwai

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: NTakashi Iwai <tiwai@suse.de>
上级 b9ecc4ee
...@@ -640,7 +640,6 @@ static void alc_exec_unsol_event(struct hda_codec *codec, int action) ...@@ -640,7 +640,6 @@ static void alc_exec_unsol_event(struct hda_codec *codec, int action)
/* unsolicited event for HP jack sensing */ /* unsolicited event for HP jack sensing */
static void alc_sku_unsol_event(struct hda_codec *codec, unsigned int res) static void alc_sku_unsol_event(struct hda_codec *codec, unsigned int res)
{ {
struct alc_spec *spec = codec->spec;
if (codec->vendor_id == 0x10ec0880) if (codec->vendor_id == 0x10ec0880)
res >>= 28; res >>= 28;
else else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册