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/Hv.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/Hv.c')
-rw-r--r-- | drivers/staging/hv/Hv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/hv/Hv.c b/drivers/staging/hv/Hv.c index 5ac9006..9ef3a02 100644 --- a/drivers/staging/hv/Hv.c +++ b/drivers/staging/hv/Hv.c @@ -361,7 +361,7 @@ HvCleanup ( if (gHvContext.SignalEventBuffer) { - MemFree(gHvContext.SignalEventBuffer); + kfree(gHvContext.SignalEventBuffer); gHvContext.SignalEventBuffer = NULL; gHvContext.SignalEventParam = NULL; } @@ -430,7 +430,7 @@ HvPostMessage( status = HvDoHypercall(HvCallPostMessage, alignedMsg, 0) & 0xFFFF; - MemFree((void*)addr); + kfree((void*)addr); return status; } |