staging: gdm72xx: use kzalloc to allocate usb_tx structure
authorDevendra Naga <devendra.aaru@gmail.com>
Sat, 25 Aug 2012 21:22:35 +0000 (02:52 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Sep 2012 18:16:22 +0000 (11:16 -0700)
the code under alloc_tx_struct does the allocation of usb_tx structure
using kmalloc, and memsets the allocated pointer, instead we can
directly use kzalloc so that the allocated memory is set with
zeros

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found