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

PCI/portdrv: Cleanup error paths



Make the straightline path the normal no-error path.  Check for errors and
return them directly, instead of checking for success and putting the
normal path in an "if" body.

No functional change.

Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent ef83b078
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