]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/serial/pl2303.c
Pull bugzilla-7349 into test branch
[linux-2.6-omap-h63xx.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;