Commit a4ddeba9 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: hda - Remove superfluous code in patch_realtek.c

codec->spec is reset in the caller side.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment