aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/mach-netlogic/multi-node.h
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2014-11-10 21:02:17 -0700
committerBjorn Helgaas <[email protected]>2014-11-10 21:02:17 -0700
commitff0387c3777f2438bad2088abe442c9f231b0be4 (patch)
tree8c3697b4a4f9474f1a9c06b2f36692d8436371a6 /arch/mips/include/asm/mach-netlogic/multi-node.h
parentf114040e3ea6e07372334ade75d1ee0775c355e1 (diff)
PCI: Delete unnecessary NULL pointer checks
The functions pci_dev_put(), pci_pme_wakeup_bus(), and put_device() return immediately if their argument is NULL. Thus the test before the call is not needed. Remove these unnecessary tests. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'arch/mips/include/asm/mach-netlogic/multi-node.h')
0 files changed, 0 insertions, 0 deletions