PCI: Simplify config space size computation
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 8 Dec 2015 00:21:10 +0000 (18:21 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 11 Dec 2015 01:38:07 +0000 (19:38 -0600)
commit8e5a395a040a7c72ec283f844eca679b924f5f01
treecab93b4848466444e76c339fca8f8cab82e4741a
parent9f33a2ae59f24452c1076749deb615bccd435ca9
PCI: Simplify config space size computation

Restructure the logic so we return the config space size as soon as we know
it.  This reduces indentation, removes negations, and removes gotos.

No functional change.

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