]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/usb/serial/ti_usb_3410_5052.c
[PATCH] getting rid of all casts of k[cmz]alloc() calls
[mv-sheeva.git] / drivers / usb / serial / ti_usb_3410_5052.c
index f42eb9ea64052a1a9d6dc90ee59966fc392a9c90..83189005c6fbb400e353167b2d16b3b64db7fdba 100644 (file)
@@ -1710,7 +1710,7 @@ static struct circ_buf *ti_buf_alloc(void)
 {
        struct circ_buf *cb;
 
-       cb = (struct circ_buf *)kmalloc(sizeof(struct circ_buf), GFP_KERNEL);
+       cb = kmalloc(sizeof(struct circ_buf), GFP_KERNEL);
        if (cb == NULL)
                return NULL;