From e276a3a5781f1e1ce0f912cc909ade147fa86a53 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 15 Jul 2009 12:47:43 -0700 Subject: Staging: hv: osd: remove MemAllocZeroed wrapper Use the "real" kzalloc call instead of a wrapper function. Cc: Hank Janssen Cc: Haiyang Zhang Signed-off-by: Greg Kroah-Hartman --- drivers/staging/hv/StorVsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/staging/hv/StorVsc.c') 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; -- cgit v1.2.3