PCI: Simplify if-return sequences
authorQuentin Lambert <lambert.quentin@gmail.com>
Thu, 6 Nov 2014 16:45:55 +0000 (17:45 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 11 Nov 2014 04:08:07 +0000 (21:08 -0700)
commit754834b9caae8d1380f66a5f0337547e9361094d
tree86bc1a50ca3a0a72bd59125b36db4e76d347fe33
parentff0387c3777f2438bad2088abe442c9f231b0be4
PCI: Simplify if-return sequences

Simplify a trivial if-return sequence.  Possibly combine with a preceding
function call.

Generated by: scripts/coccinelle/misc/simple_return.cocci

Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/ibmphp_res.c
drivers/pci/pci.c