staging: r8188eu: convert all rtw_zvmalloc calls to vzalloc calls
[linux-2.6-microblaze.git] / drivers / staging / r8188eu / core / rtw_recv.c
index 0e137ae..52236ba 100644 (file)
@@ -58,7 +58,7 @@ int _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter)
 
        rtw_os_recv_resource_init(precvpriv, padapter);
 
-       precvpriv->pallocated_frame_buf = rtw_zvmalloc(NR_RECVFRAME * sizeof(struct recv_frame) + RXFRAME_ALIGN_SZ);
+       precvpriv->pallocated_frame_buf = vzalloc(NR_RECVFRAME * sizeof(struct recv_frame) + RXFRAME_ALIGN_SZ);
 
        if (!precvpriv->pallocated_frame_buf) {
                res = _FAIL;