aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/Connection.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-07-15 12:48:29 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:01:47 -0700
commit8c69f52ab3d918be9d91c8202e5321421876ea50 (patch)
tree89f7e7a1cf1bfaee3e18b5f0ad72a2f9f0f84432 /drivers/staging/hv/Connection.c
parentStaging: hv: osd: remove MemAllocAtomic wrapper (diff)
downloadlinux-8c69f52ab3d918be9d91c8202e5321421876ea50.tar.gz
linux-8c69f52ab3d918be9d91c8202e5321421876ea50.zip
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/Connection.c')
-rw-r--r--drivers/staging/hv/Connection.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/hv/Connection.c b/drivers/staging/hv/Connection.c
index 6a3229b20e5f..6f7835152418 100644
--- a/drivers/staging/hv/Connection.c
+++ b/drivers/staging/hv/Connection.c
@@ -145,7 +145,7 @@ VmbusConnect(
WaitEventClose(msgInfo->WaitEvent);
- MemFree(msgInfo);
+ kfree(msgInfo);
DPRINT_EXIT(VMBUS);
return 0;
@@ -175,7 +175,7 @@ Cleanup:
if (msgInfo->WaitEvent)
WaitEventClose(msgInfo->WaitEvent);
- MemFree(msgInfo);
+ kfree(msgInfo);
}
DPRINT_EXIT(VMBUS);
@@ -233,7 +233,7 @@ VmbusDisconnect(
Cleanup:
if (msg)
{
- MemFree(msg);
+ kfree(msg);
}
DPRINT_EXIT(VMBUS);