usb: avoid redundant cast of kmalloc() return value in OTi-6858 driver
commitb84d2bf07ffb962733ba56307c61539a301a742e
authorJesper Juhl <jesper.juhl@gmail.com>
Fri, 24 Aug 2007 00:35:14 +0000 (24 02:35 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:21 +0000 (12 14:55 -0700)
treef328d4a0d4b9e67d8123163301701b1e78b2178f
parent092a212e8e3eb49ab7360d652f457d0a360d5383
usb: avoid redundant cast of kmalloc() return value in OTi-6858 driver

In drivers/usb/serial/oti6858.c::pl2303_buf_alloc() the return value
of kmalloc() is being cast to "struct pl2303_buf *", but that need
not be done here since kmalloc() returns "void *".

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/oti6858.c