]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ALSA: hda - Remove superfluous code in patch_realtek.c
authorTakashi Iwai <tiwai@suse.de>
Fri, 6 Feb 2009 16:21:09 +0000 (17:21 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 6 Feb 2009 16:21:09 +0000 (17:21 +0100)
codec->spec is reset in the caller side.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index 76934bc8b484a3ca737767c3faf1547cab0fce3b..3d933e307b19f171e609f9b855386015e4a37235 100644 (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