]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/usb/serial/pl2303.c
[PATCH] getting rid of all casts of k[cmz]alloc() calls
[mv-sheeva.git] / drivers / usb / serial / pl2303.c
index d124d780e42e27703216908337f011094d181c4c..5dc2ac9afa90b01a210d1993c05b3dea47323309 100644 (file)
@@ -159,7 +159,7 @@ static struct pl2303_buf *pl2303_buf_alloc(unsigned int size)
        if (size == 0)
                return NULL;
 
-       pb = (struct pl2303_buf *)kmalloc(sizeof(struct pl2303_buf), GFP_KERNEL);
+       pb = kmalloc(sizeof(struct pl2303_buf), GFP_KERNEL);
        if (pb == NULL)
                return NULL;