diff options
author | Devendra Naga <devendra.aaru@gmail.com> | 2012-08-26 02:52:35 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-04 11:16:22 -0700 |
commit | 07ad99c9e32173852997523eb920950902563941 (patch) | |
tree | 67e1032da28cc8398b4948e2692f6c3f0480d4b9 /drivers/ps3 | |
parent | 8f8b77bfdce811acbcf2248219a7aab5f92de938 (diff) |
staging: gdm72xx: use kzalloc to allocate usb_tx structure
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>
Diffstat (limited to 'drivers/ps3')
0 files changed, 0 insertions, 0 deletions