]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Cleanup control flow
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 12 Mar 2015 20:07:04 +0000 (15:07 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 19 Mar 2015 15:17:22 +0000 (10:17 -0500)
commitcb3aaff310bb9ef24b668b0fdbc4b0531f13c34f
tree73af8c5605ba91394b1fffdc964a03741b4897c4
parente841bab17656ff6680d8ce11527a3a68b6da4d6c
PCI: Cleanup control flow

Return errors immediately so the straightline path is the normal,
no-error path.  No functional change.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/arm/mach-dove/pcie.c
arch/arm/mach-mv78xx0/pcie.c
arch/arm/mach-orion5x/pci.c
arch/mips/pci/pci.c
arch/sh/drivers/pci/pci.c
arch/sparc/kernel/leon_pci.c