diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-15 12:47:22 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:47 -0700 |
commit | e40d37cc002de9a6e3058646114b585ec4354745 (patch) | |
tree | cdf7c0212d1d947aaaafae18ca4d1f3e6d7a4b45 /drivers/staging/hv/osd.c | |
parent | 0e727613ac6e1648d681a75d794862225c801d4b (diff) | |
download | op-kernel-dev-e40d37cc002de9a6e3058646114b585ec4354745.zip op-kernel-dev-e40d37cc002de9a6e3058646114b585ec4354745.tar.gz |
Staging: hv: osd: remove MemAlloc wrapper
Use the "real" kmalloc call instead of a wrapper function.
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/osd.c')
-rw-r--r-- | drivers/staging/hv/osd.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/hv/osd.c b/drivers/staging/hv/osd.c index 91668df..457698c 100644 --- a/drivers/staging/hv/osd.c +++ b/drivers/staging/hv/osd.c @@ -189,11 +189,6 @@ void PageUnmapVirtualAddress(void* VirtAddr) kunmap_atomic(VirtAddr, KM_IRQ0); } -void* MemAlloc(unsigned int size) -{ - return kmalloc(size, GFP_KERNEL); -} - void* MemAllocZeroed(unsigned int size) { void *p = kmalloc(size, GFP_KERNEL); |