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:
97bf6af
)
PCI: Delete unnecessary NULL pointer checks
author
Markus Elfring
<elfring@users.sourceforge.net>
Fri, 26 Dec 2014 23:28:08 +0000
(16:28 -0700)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Fri, 26 Dec 2014 23:28:08 +0000
(16:28 -0700)
The pci_dev_put() 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: Bjorn Helgaas <bhelgaas@google.com>
No differences found