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/RndisFilter.c | |
parent | e40d37cc002de9a6e3058646114b585ec4354745 (diff) |
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/RndisFilter.c')
-rw-r--r-- | drivers/staging/hv/RndisFilter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/hv/RndisFilter.c b/drivers/staging/hv/RndisFilter.c index 21b5ed76fac..ac810e2ac4f 100644 --- a/drivers/staging/hv/RndisFilter.c +++ b/drivers/staging/hv/RndisFilter.c @@ -210,7 +210,7 @@ static inline RNDIS_DEVICE* GetRndisDevice(void) { RNDIS_DEVICE *device; - device = MemAllocZeroed(sizeof(RNDIS_DEVICE)); + device = kzalloc(sizeof(RNDIS_DEVICE), GFP_KERNEL); if (!device) { return NULL; @@ -242,7 +242,7 @@ static inline RNDIS_REQUEST* GetRndisRequest(RNDIS_DEVICE *Device, u32 MessageTy RNDIS_MESSAGE *rndisMessage; RNDIS_SET_REQUEST *set; - request = MemAllocZeroed(sizeof(RNDIS_REQUEST)); + request = kzalloc(sizeof(RNDIS_REQUEST), GFP_KERNEL); if (!request) { return NULL; |