X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fusb%2Fserial%2Fpl2303.c;h=5dc2ac9afa90b01a210d1993c05b3dea47323309;hb=c6f4bc211122c86de85a6c93f139319957fd1f8a;hp=d124d780e42e27703216908337f011094d181c4c;hpb=741441ab7800f1eb031e74fd720f4f8f361678ed;p=linux-2.6-omap-h63xx.git diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c index d124d780e42..5dc2ac9afa9 100644 --- a/drivers/usb/serial/pl2303.c +++ b/drivers/usb/serial/pl2303.c @@ -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;