git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f8b77b
)
staging: gdm72xx: use kzalloc to allocate usb_tx structure
author
Devendra Naga
<devendra.aaru@gmail.com>
Sat, 25 Aug 2012 21:22:35 +0000
(
02:52
+0530)
committer
Greg 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