aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
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 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