PCI/portdrv: Cleanup error paths
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 19 Dec 2013 21:20:09 +0000 (14:20 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 19 Dec 2013 21:20:09 +0000 (14:20 -0700)
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: Bjorn Helgaas <bhelgaas@google.com>

No differences found