diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-15 12:48:29 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:47 -0700 |
commit | 8c69f52ab3d918be9d91c8202e5321421876ea50 (patch) | |
tree | 89f7e7a1cf1bfaee3e18b5f0ad72a2f9f0f84432 /drivers/staging/hv/RndisFilter.c | |
parent | 0a72f3cf9f53ae0f4f1c6e05bb081d99b5d72db2 (diff) | |
download | op-kernel-dev-8c69f52ab3d918be9d91c8202e5321421876ea50.zip op-kernel-dev-8c69f52ab3d918be9d91c8202e5321421876ea50.tar.gz |
Staging: hv: osd: remove MemFree wrapper
Use the "real" kfree 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 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/hv/RndisFilter.c b/drivers/staging/hv/RndisFilter.c index ac810e2..bc5557a 100644 --- a/drivers/staging/hv/RndisFilter.c +++ b/drivers/staging/hv/RndisFilter.c @@ -219,7 +219,7 @@ static inline RNDIS_DEVICE* GetRndisDevice(void) device->RequestLock = SpinlockCreate(); if (!device->RequestLock) { - MemFree(device); + kfree(device); return NULL; } @@ -233,7 +233,7 @@ static inline RNDIS_DEVICE* GetRndisDevice(void) static inline void PutRndisDevice(RNDIS_DEVICE *Device) { SpinlockClose(Device->RequestLock); - MemFree(Device); + kfree(Device); } static inline RNDIS_REQUEST* GetRndisRequest(RNDIS_DEVICE *Device, u32 MessageType, u32 MessageLength) @@ -251,7 +251,7 @@ static inline RNDIS_REQUEST* GetRndisRequest(RNDIS_DEVICE *Device, u32 MessageTy request->WaitEvent = WaitEventCreate(); if (!request->WaitEvent) { - MemFree(request); + kfree(request); return NULL; } @@ -279,7 +279,7 @@ static inline void PutRndisRequest(RNDIS_DEVICE *Device, RNDIS_REQUEST *Request) SpinlockRelease(Device->RequestLock); WaitEventClose(Request->WaitEvent); - MemFree(Request); + kfree(Request); } static inline void DumpRndisMessage(RNDIS_MESSAGE *RndisMessage) |