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:
74ed42c
)
staging: android: ion: Deletion of unnecessary checks before two function calls
author
Markus Elfring
<elfring@users.sourceforge.net>
Sun, 23 Nov 2014 17:48:15 +0000
(18:48 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 26 Nov 2014 21:42:53 +0000
(13:42 -0800)
The functions ion_heap_destroy() and vfree() perform also input
parameter validation. Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found