git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
092a212
)
usb: avoid redundant cast of kmalloc() return value in OTi-6858 driver
author
Jesper Juhl
<jesper.juhl@gmail.com>
Fri, 24 Aug 2007 00:35:14 +0000
(
02:35
+0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 12 Oct 2007 21:55:21 +0000
(14:55 -0700)
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>
No differences found