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)
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

Simple merge