diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2014-12-26 16:28:08 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-12-26 16:28:08 -0700 |
commit | 17f14b51f2dc2fce2636ee49c5fbf49ff27aecb0 (patch) | |
tree | d66b5b0d03a9e40ac7ba5b35cd78357092a3b24c /arch/sh/Kconfig | |
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>
Diffstat (limited to 'arch/sh/Kconfig')
0 files changed, 0 insertions, 0 deletions