[PATCH] getting rid of all casts of k[cmz]alloc() calls
[deliverable/linux.git] / arch / m68k / mm / kmap.c
index b54ef1726c557f827665ae3055eb2c1f8868c2c7..46b7d6035aabaab6a299f5c2cef9fee411c96bb4 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;
This page took 0.025951 seconds and 5 git commands to generate.