summaryrefslogtreecommitdiff
path: root/drivers/staging/hv/StorVsc.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-07-15 12:47:43 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:01:47 -0700
commite276a3a5781f1e1ce0f912cc909ade147fa86a53 (patch)
tree346ab76b22d1cee6c28c8f981a64d22acc0ec9ca /drivers/staging/hv/StorVsc.c
parente40d37cc002de9a6e3058646114b585ec4354745 (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/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 2d7f2ca6155a..502d1d2e0e2e 100644
--- a/drivers/staging/hv/StorVsc.c
+++ b/drivers/staging/hv/StorVsc.c
@@ -147,7 +147,7 @@ static inline STORVSC_DEVICE* AllocStorDevice(DEVICE_OBJECT *Device)
{
STORVSC_DEVICE *storDevice;
- storDevice = MemAllocZeroed(sizeof(STORVSC_DEVICE));
+ storDevice = kzalloc(sizeof(STORVSC_DEVICE), GFP_KERNEL);
if (!storDevice)
return NULL;