From: Jesper Juhl Date: Fri, 24 Aug 2007 00:35:14 +0000 (+0200) Subject: usb: avoid redundant cast of kmalloc() return value in OTi-6858 driver X-Git-Tag: v2.6.24-rc1~1395^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b84d2bf07ffb962733ba56307c61539a301a742e;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed