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:
7e73a3b
)
powerpc: Delete unnecessary checks before kfree()
author
Markus Elfring
<elfring@users.sourceforge.net>
Tue, 3 Feb 2015 12:55:53 +0000
(13:55 +0100)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Mon, 16 Mar 2015 07:50:14 +0000
(18:50 +1100)
The kfree() function tests whether its argument is NULL and then returns
immediately. 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: Michael Ellerman <mpe@ellerman.id.au>
No differences found