diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-10-10 11:56:31 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-11-04 13:18:00 +0100 |
commit | b1d5776d865951c213a1caaab5d8bf5de7615dbd (patch) | |
tree | f999dca30f6e2d03a9176b86c613ae8f4531a6d6 /sound/core/wrappers.c | |
parent | 93f2e37840a9a7c3693ca6961fe6ad46b250f3b9 (diff) | |
download | linux-3.10-b1d5776d865951c213a1caaab5d8bf5de7615dbd.tar.gz linux-3.10-b1d5776d865951c213a1caaab5d8bf5de7615dbd.tar.bz2 linux-3.10-b1d5776d865951c213a1caaab5d8bf5de7615dbd.zip |
[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/wrappers.c')
-rw-r--r-- | sound/core/wrappers.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sound/core/wrappers.c b/sound/core/wrappers.c index 296b716f137..19e899089cb 100644 --- a/sound/core/wrappers.c +++ b/sound/core/wrappers.c @@ -36,15 +36,5 @@ void snd_wrapper_kfree(const void *obj) { kfree(obj); } - -void *snd_wrapper_vmalloc(unsigned long size) -{ - return vmalloc(size); -} - -void snd_wrapper_vfree(void *obj) -{ - vfree(obj); -} #endif |