]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: metro-usb: remove unneeded cast and function call
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 22:00:11 +0000 (14:00 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 22:00:11 +0000 (14:00 -0800)
commitca515b55284924452832e1abd0d5620a2810f8fe
treea936712836b3e6cfa401989cc32e86e99180100d
parent3887d45107912b0da155143737f70f153d1cbb44
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