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:
Takashi Iwai 2009-02-06 17:21:09 +01:00
parent c44765b8c8
commit a4ddeba9c8

View File

@ -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