diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-15 12:47:43 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:47 -0700 |
commit | e276a3a5781f1e1ce0f912cc909ade147fa86a53 (patch) | |
tree | 346ab76b22d1cee6c28c8f981a64d22acc0ec9ca /drivers/staging/hv/osd.c | |
parent | e40d37cc002de9a6e3058646114b585ec4354745 (diff) | |
download | op-kernel-dev-e276a3a5781f1e1ce0f912cc909ade147fa86a53.zip op-kernel-dev-e276a3a5781f1e1ce0f912cc909ade147fa86a53.tar.gz |
Staging: hv: osd: remove MemAllocZeroed wrapper
Use the "real" kzalloc 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 | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/hv/osd.c b/drivers/staging/hv/osd.c index 457698c..02eb11d 100644 --- a/drivers/staging/hv/osd.c +++ b/drivers/staging/hv/osd.c @@ -189,13 +189,6 @@ void PageUnmapVirtualAddress(void* VirtAddr) kunmap_atomic(VirtAddr, KM_IRQ0); } -void* MemAllocZeroed(unsigned int size) -{ - void *p = kmalloc(size, GFP_KERNEL); - if (p) memset(p, 0, size); - return p; -} - void* MemAllocAtomic(unsigned int size) { return kmalloc(size, GFP_ATOMIC); |