Skip to content
Commit 8e5a395a authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

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: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 9f33a2ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment