diff options
author | 2014-12-26 16:28:08 -0700 | |
---|---|---|
committer | 2014-12-26 16:28:08 -0700 | |
commit | 17f14b51f2dc2fce2636ee49c5fbf49ff27aecb0 (patch) | |
tree | d66b5b0d03a9e40ac7ba5b35cd78357092a3b24c /tools/perf/scripts/python | |
parent | Linux 3.19-rc1 (diff) | |
download | linux-dev-17f14b51f2dc2fce2636ee49c5fbf49ff27aecb0.tar.xz linux-dev-17f14b51f2dc2fce2636ee49c5fbf49ff27aecb0.zip |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions