staging: rtl8188eu:Remove rtw_zmalloc(), wrapper for kzalloc()
[linux-2.6-microblaze.git] / drivers / staging / rtl8188eu / os_dep / xmit_linux.c
index 5ccc186..b4f220d 100644 (file)
@@ -80,7 +80,7 @@ int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitb
 {
        int i;
 
-       pxmitbuf->pallocated_buf = rtw_zmalloc(alloc_sz);
+       pxmitbuf->pallocated_buf = kzalloc(alloc_sz, GFP_KERNEL);
        if (pxmitbuf->pallocated_buf == NULL)
                return _FAIL;