aboutsummaryrefslogtreecommitdiff
path: root/sound/core/info.c
diff options
context:
space:
mode:
authorGravatar Takashi Iwai <tiwai@suse.de> 2015-04-22 21:33:41 +0200
committerGravatar Takashi Iwai <tiwai@suse.de> 2015-04-24 17:31:04 +0200
commitb046d244e2290e3d114af2e91503ee3d08fc605a (patch)
treefc70f513324fd3bc1a729cb30df6094ea086a273 /sound/core/info.c
parentALSA: core: Manage asound root directory with snd_info_entry (diff)
downloadlinux-b046d244e2290e3d114af2e91503ee3d08fc605a.tar.gz
linux-b046d244e2290e3d114af2e91503ee3d08fc605a.tar.bz2
linux-b046d244e2290e3d114af2e91503ee3d08fc605a.zip
ALSA: core: Remove superfluous exit calls for proc entries
Since each proc entry is freed automatically by the parent, we don't have to take care of its life cycle any longer. This allows us to reduce a few more lines of codes. Acked-by: Jaroslav Kysela <perex@perex.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/info.c')
-rw-r--r--sound/core/info.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/core/info.c b/sound/core/info.c
index 55c626eeb061..339f90a3aa29 100644
--- a/sound/core/info.c
+++ b/sound/core/info.c
@@ -495,9 +495,6 @@ int __init snd_info_init(void)
int __exit snd_info_done(void)
{
- snd_card_info_done();
- snd_minor_info_oss_done();
- snd_minor_info_done();
snd_info_free_entry(snd_proc_root);
return 0;
}