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:
a469fe1
)
staging: gdm724x: cleanup alloc_tx_sdu_struct()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Tue, 18 Feb 2014 12:18:10 +0000
(15:18 +0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 18 Feb 2014 19:16:56 +0000
(11:16 -0800)
The kfree(t_sdu->buf) sets off a private static checker warning because
"t_sdu->buf" is always NULL.
This function just allocates two pointers so we can re-write it to be
simpler.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found