mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 17:23:55 +08:00
ALSA: hda - Fix unused variable warning in patch_realtek.c
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
35ffe11587
commit
ad93ffe6e4
@ -14825,8 +14825,6 @@ static void alc269_toggle_power_output(struct hda_codec *codec, int power_up)
|
||||
|
||||
static void alc269_shutup(struct hda_codec *codec)
|
||||
{
|
||||
struct alc_spec *spec = codec->spec;
|
||||
|
||||
if ((alc_read_coef_idx(codec, 0) & 0x00ff) == 0x017)
|
||||
alc269_toggle_power_output(codec, 0);
|
||||
if ((alc_read_coef_idx(codec, 0) & 0x00ff) == 0x018) {
|
||||
|
Loading…
Reference in New Issue
Block a user