]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/realtek - Fix unused variable warning
authorTakashi Iwai <tiwai@suse.de>
Wed, 12 Aug 2020 07:02:56 +0000 (09:02 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 12 Aug 2020 07:03:45 +0000 (09:03 +0200)
commitec2b405b67b2f137708bcc51d664164ebfd32d71
treec05b29e774a86adcaf7d7894716898c1a6da1e71
parent8f50bcc45dde061aaa4b9288d524c5d94d6f4ccb
ALSA: hda/realtek - Fix unused variable warning

The previous fix forgot to remove the unused variable that triggers a
compile warning now:
  sound/pci/hda/patch_realtek.c: In function 'alc285_fixup_hp_gpio_led':
  sound/pci/hda/patch_realtek.c:4163:19: warning: unused variable 'spec' [-Wunused-variable]

Fix it.

Fixes: 8f50bcc45dde ("ALSA: hda - reverse the setting value in the micmute_led_set")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Link: https://lore.kernel.org/r/20200812070256.32145-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c