Skip to content

Commit

Permalink
ALSA: hda - Remove superfluous code in patch_realtek.c
Browse files Browse the repository at this point in the history
codec->spec is reset in the caller side.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Feb 6, 2009
1 parent c44765b commit a4ddeba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a4ddeba

Please sign in to comment.