[PATCH] getting rid of all casts of k[cmz]alloc() calls
[safe/jmp/linux-2.6] / arch / m68k / mm / kmap.c
index b54ef17..46b7d60 100644 (file)
@@ -59,7 +59,7 @@ static struct vm_struct *get_io_area(unsigned long size)
        unsigned long addr;
        struct vm_struct **p, *tmp, *area;
 
-       area = (struct vm_struct *)kmalloc(sizeof(*area), GFP_KERNEL);
+       area = kmalloc(sizeof(*area), GFP_KERNEL);
        if (!area)
                return NULL;
        addr = KMAP_START;