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-Tag: upstream/snapshot3+hdmi~19272^2~1^2~104 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a4ddeba9c8896cba8c6ce7a98c0b5c755c15a746;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 76934bc..3d933e3 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