commit | d3689df04445c568c8b3dfcd8db4b562e1b18cfb | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Mon May 19 18:39:07 2014 -0600 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Fri May 23 12:40:49 2014 -0600 |
tree | 11e5c253120cf5f7e76e7324610934c792b76622 | |
parent | 30afe8d00b994416b24c63f8c5bbf1c13869ec3c [diff] |
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>