From: Takashi Iwai Date: Fri, 6 Feb 2009 16:21:09 +0000 (+0100) Subject: ALSA: hda - Remove superfluous code in patch_realtek.c X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a4ddeba9c8896cba8c6ce7a98c0b5c755c15a746;p=linux-2.6-omap-h63xx.git ALSA: hda - Remove superfluous code in patch_realtek.c codec->spec is reset in the caller side. Signed-off-by: Takashi Iwai --- 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