diff options
author | Jesper Juhl <jesper.juhl@gmail.com> | 2007-08-23 20:35:14 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 17:55:21 -0400 |
commit | b84d2bf07ffb962733ba56307c61539a301a742e (patch) | |
tree | f328d4a0d4b9e67d8123163301701b1e78b2178f /drivers/usb/serial/pl2303.h | |
parent | 092a212e8e3eb49ab7360d652f457d0a360d5383 (diff) |
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>
Diffstat (limited to 'drivers/usb/serial/pl2303.h')
0 files changed, 0 insertions, 0 deletions