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:
2d4ad4f
)
net: fec: Delete unnecessary checks before the function call "kfree"
author
Markus Elfring
<elfring@users.sourceforge.net>
Wed, 4 Feb 2015 11:56:42 +0000
(12:56 +0100)
committer
David S. Miller
<davem@davemloft.net>
Thu, 5 Feb 2015 08:26:04 +0000
(
00:26
-0800)
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: David S. Miller <davem@davemloft.net>
No differences found