forked from luck/tmp_suning_uos_patched
ALSA: hda - Remove superfluous code in patch_realtek.c
codec->spec is reset in the caller side. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
c44765b8c8
commit
a4ddeba9c8
|
@ -3202,7 +3202,6 @@ static void alc_free(struct hda_codec *codec)
|
|||
alc_free_kctls(codec);
|
||||
kfree(spec);
|
||||
snd_hda_detach_beep_device(codec);
|
||||
codec->spec = NULL; /* to be sure */
|
||||
}
|
||||
|
||||
#ifdef SND_HDA_NEEDS_RESUME
|
||||
|
|
Loading…
Reference in New Issue
Block a user