[PATCH] getting rid of all casts of k[cmz]alloc() calls
[deliverable/linux.git] / drivers / usb / serial / io_ti.c
index 2da2684e080982a4f72c91ee3c26b9c79a85568b..980285c0233a049cfca9d1acc01a4ecff6e858c2 100644 (file)
@@ -2811,7 +2811,7 @@ static struct edge_buf *edge_buf_alloc(unsigned int size)
        if (size == 0)
                return NULL;
 
-       eb = (struct edge_buf *)kmalloc(sizeof(struct edge_buf), GFP_KERNEL);
+       eb = kmalloc(sizeof(struct edge_buf), GFP_KERNEL);
        if (eb == NULL)
                return NULL;
 
This page took 0.025256 seconds and 5 git commands to generate.