USB: serial: metro-usb: remove unneeded cast and function call
commit8111e4ecf9373f6d76504416b0e76b18372f3598
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 22:00:11 +0000 (8 14:00 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 22:00:11 +0000 (8 14:00 -0800)
treea936712836b3e6cfa401989cc32e86e99180100d
parentdd63b0b4d6d036e1d5f7008c97c30789415489de
USB: serial: metro-usb: remove unneeded cast and function call

We should use kzalloc() instead of kmalloc() and memset(), and remove an
unneeded void * cast as well.

Cc: Aleksey Babahin <tamerlan311@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/metro-usb.c