[PATCH] getting rid of all casts of k[cmz]alloc() calls
[sfrench/cifs-2.6.git] / include / linux / coda_linux.h
index be512cc98791a31b85c0317e6f2b19e1e90c3631..4c2632a8d31b97a4fe3cdac74669a106f359e116 100644 (file)
@@ -64,7 +64,7 @@ void coda_sysctl_clean(void);
 
 #define CODA_ALLOC(ptr, cast, size) do { \
     if (size < PAGE_SIZE) \
-        ptr = (cast)kmalloc((unsigned long) size, GFP_KERNEL); \
+        ptr = kmalloc((unsigned long) size, GFP_KERNEL); \
     else \
         ptr = (cast)vmalloc((unsigned long) size); \
     if (!ptr) \