summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai2009-02-06 17:21:09 +0100
committerTakashi Iwai2009-02-06 17:21:09 +0100
commita4ddeba9c8896cba8c6ce7a98c0b5c755c15a746 (patch)
tree27b3a62714144c2bf2aaf23bf57a9b40657608fc /sound
parentALSA: hda - Clear codec->beep at release (diff)
downloadkernel-qcow2-linux-a4ddeba9c8896cba8c6ce7a98c0b5c755c15a746.tar.gz
kernel-qcow2-linux-a4ddeba9c8896cba8c6ce7a98c0b5c755c15a746.tar.xz
kernel-qcow2-linux-a4ddeba9c8896cba8c6ce7a98c0b5c755c15a746.zip
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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 76934bc8b484..3d933e307b19 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