commit | 17f14b51f2dc2fce2636ee49c5fbf49ff27aecb0 | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Fri Dec 26 16:28:08 2014 -0700 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Fri Dec 26 16:28:08 2014 -0700 |
tree | d66b5b0d03a9e40ac7ba5b35cd78357092a3b24c | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 [diff] |
PCI: Delete unnecessary NULL pointer checks 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>