aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-11-21 14:50:12 +0100
committerTakashi Iwai <tiwai@suse.de>2012-11-21 15:06:13 +0100
commite15f1b43e1dbb24c91f1434700e4ba876f8e6734 (patch)
tree1d650968b821972740e5254e8d74305710741d4d /sound/pci/hda/patch_realtek.c
parentefc2f8de1da8e140331cfdbfdc6e0d596c33fb40 (diff)
ALSA: hda - Remove shutup calls in free callbacks
The free callback is called at the state where no extra verbs are executed, thus calling *_shutup() is useless, as it's checking the shutdown flag. Remove such superfluous calls. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-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 4d268526994..bde7d1b323c 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -2404,7 +2404,6 @@ static void alc_free(struct hda_codec *codec)
if (!spec)
return;
- alc_shutup(codec);
alc_free_kctls(codec);
alc_free_bind_ctls(codec);
snd_hda_gen_free(&spec->gen);