summaryrefslogtreecommitdiff
path: root/drivers/staging/hv/StorVsc.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-07-15 19:48:29 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 19:01:47 (GMT)
commit8c69f52ab3d918be9d91c8202e5321421876ea50 (patch)
tree89f7e7a1cf1bfaee3e18b5f0ad72a2f9f0f84432 /drivers/staging/hv/StorVsc.c
parent0a72f3cf9f53ae0f4f1c6e05bb081d99b5d72db2 (diff)
downloadlinux-fsl-qoriq-8c69f52ab3d918be9d91c8202e5321421876ea50.tar.xz
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/StorVsc.c')
-rw-r--r--drivers/staging/hv/StorVsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/StorVsc.c b/drivers/staging/hv/StorVsc.c
index 502d1d2..2cf4963 100644
--- a/drivers/staging/hv/StorVsc.c
+++ b/drivers/staging/hv/StorVsc.c
@@ -164,7 +164,7 @@ static inline STORVSC_DEVICE* AllocStorDevice(DEVICE_OBJECT *Device)
static inline void FreeStorDevice(STORVSC_DEVICE *Device)
{
ASSERT(Device->RefCount == 0);
- MemFree(Device);
+ kfree(Device);
}
// Get the stordevice object iff exists and its refcount > 1