PCI: Simplify __pci_assign_resource() coding style
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 20 May 2014 00:39:07 +0000 (18:39 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 23 May 2014 18:40:49 +0000 (12:40 -0600)
commitd3689df04445c568c8b3dfcd8db4b562e1b18cfb
tree11e5c253120cf5f7e76e7324610934c792b76622
parent30afe8d00b994416b24c63f8c5bbf1c13869ec3c
PCI: Simplify __pci_assign_resource() coding style

If an allocation succeeds, we can return success immediately.  Then we
don't have to test for success in the subsequent code.

No functional change.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/setup-res.c