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:
775a913
)
mtd: delete unnecessary checks before two function calls
author
Markus Elfring
<elfring@users.sourceforge.net>
Thu, 20 Nov 2014 12:50:43 +0000
(13:50 +0100)
committer
Brian Norris
<computersforpeace@gmail.com>
Wed, 26 Nov 2014 06:44:10 +0000
(22:44 -0800)
The functions kfree() and pci_dev_put() test whether their argument is NULL
and then return 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: Brian Norris <computersforpeace@gmail.com>
No differences found