Skip to content

Commit e5b1d97

Browse files
committed
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: 4046906 ("ALSA: hda - reverse the setting value in the micmute_led_set") Reported-by: Stephen Rothwell <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 4046906 commit e5b1d97

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4160,8 +4160,6 @@ static void alc269_fixup_hp_gpio_led(struct hda_codec *codec,
41604160
static void alc285_fixup_hp_gpio_led(struct hda_codec *codec,
41614161
const struct hda_fixup *fix, int action)
41624162
{
4163-
struct alc_spec *spec = codec->spec;
4164-
41654163
alc_fixup_hp_gpio_led(codec, action, 0x04, 0x01);
41664164
}
41674165

0 commit comments

Comments
 (0)