]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/staging/winbond/wblinux.c
Staging: w35und: OS_MEMORY_ALLOC wrapper removal
[linux-2.6-omap-h63xx.git] / drivers / staging / winbond / wblinux.c
index 460f42ad8971b1114a1303c782066e8d6176ac37..a9a605b0feef6ec4be2f011c51e5689070a57b27 100644 (file)
 //============================================================================
 #include "os_common.h"
 
-u32
-WBLINUX_MemoryAlloc(void* *VirtualAddress, u32 Length)
-{
-       *VirtualAddress = kzalloc( Length, GFP_ATOMIC ); //GFP_KERNEL is not suitable
-
-       if (*VirtualAddress == NULL)
-               return 0;
-       return 1;
-}
-
 s32
 EncapAtomicInc(struct wb35_adapter * adapter, void* pAtomic)
 {