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

ALSA: hda - Remove superfluous code in patch_realtek.c

codec->spec is reset in the caller side.
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 c44765b8
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册