diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-02-06 17:21:09 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-02-06 17:21:09 +0100 |
commit | a4ddeba9c8896cba8c6ce7a98c0b5c755c15a746 (patch) | |
tree | 27b3a62714144c2bf2aaf23bf57a9b40657608fc /sound | |
parent | c44765b8c8bfc883c9868ab7aef37d27b5b14be8 (diff) |
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 76934bc8b48..3d933e307b1 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -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 |