diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-10-10 05:56:31 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-11-04 07:18:00 -0500 |
commit | b1d5776d865951c213a1caaab5d8bf5de7615dbd (patch) | |
tree | f999dca30f6e2d03a9176b86c613ae8f4531a6d6 /sound/core/sound.c | |
parent | 93f2e37840a9a7c3693ca6961fe6ad46b250f3b9 (diff) |
[ALSA] Remove vmalloc wrapper, kfree_nocheck()
- Remove vmalloc wrapper
- Add release_and_free_resource() to remove kfree_nocheck() from each driver
and simplify the code
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/sound.c')
-rw-r--r-- | sound/core/sound.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sound/core/sound.c b/sound/core/sound.c index bc8ad0017984..e94eebd8ad6f 100644 --- a/sound/core/sound.c +++ b/sound/core/sound.c | |||
@@ -407,8 +407,6 @@ EXPORT_SYMBOL(snd_unregister_oss_device); | |||
407 | EXPORT_SYMBOL(snd_hidden_kmalloc); | 407 | EXPORT_SYMBOL(snd_hidden_kmalloc); |
408 | EXPORT_SYMBOL(snd_hidden_kcalloc); | 408 | EXPORT_SYMBOL(snd_hidden_kcalloc); |
409 | EXPORT_SYMBOL(snd_hidden_kfree); | 409 | EXPORT_SYMBOL(snd_hidden_kfree); |
410 | EXPORT_SYMBOL(snd_hidden_vmalloc); | ||
411 | EXPORT_SYMBOL(snd_hidden_vfree); | ||
412 | EXPORT_SYMBOL(snd_hidden_kstrdup); | 410 | EXPORT_SYMBOL(snd_hidden_kstrdup); |
413 | #endif | 411 | #endif |
414 | EXPORT_SYMBOL(copy_to_user_fromio); | 412 | EXPORT_SYMBOL(copy_to_user_fromio); |
@@ -487,6 +485,7 @@ EXPORT_SYMBOL(snd_ctl_unregister_ioctl_compat); | |||
487 | EXPORT_SYMBOL(snd_ctl_elem_read); | 485 | EXPORT_SYMBOL(snd_ctl_elem_read); |
488 | EXPORT_SYMBOL(snd_ctl_elem_write); | 486 | EXPORT_SYMBOL(snd_ctl_elem_write); |
489 | /* misc.c */ | 487 | /* misc.c */ |
488 | EXPORT_SYMBOL(release_and_free_resource); | ||
490 | #ifdef CONFIG_SND_VERBOSE_PRINTK | 489 | #ifdef CONFIG_SND_VERBOSE_PRINTK |
491 | EXPORT_SYMBOL(snd_verbose_printk); | 490 | EXPORT_SYMBOL(snd_verbose_printk); |
492 | #endif | 491 | #endif |
@@ -497,6 +496,4 @@ EXPORT_SYMBOL(snd_verbose_printd); | |||
497 | #ifdef CONFIG_SND_DEBUG_MEMORY | 496 | #ifdef CONFIG_SND_DEBUG_MEMORY |
498 | EXPORT_SYMBOL(snd_wrapper_kmalloc); | 497 | EXPORT_SYMBOL(snd_wrapper_kmalloc); |
499 | EXPORT_SYMBOL(snd_wrapper_kfree); | 498 | EXPORT_SYMBOL(snd_wrapper_kfree); |
500 | EXPORT_SYMBOL(snd_wrapper_vmalloc); | ||
501 | EXPORT_SYMBOL(snd_wrapper_vfree); | ||
502 | #endif | 499 | #endif |