From: Bjorn Helgaas Date: Tue, 20 May 2014 00:39:07 +0000 (-0600) Subject: PCI: Simplify __pci_assign_resource() coding style X-Git-Tag: omap-for-v3.16/fixes-against-rc1~38^2~8^6~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3689df04445c568c8b3dfcd8db4b562e1b18cfb;p=pandora-kernel.git 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 --- Reading git-diff-tree failed