PCI: endpoint: Remove goto labels in pci_epf_create()
authorRolf Evers-Fischer <rolf.evers.fischer@aptiv.com>
Wed, 28 Feb 2018 17:32:20 +0000 (18:32 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 1 Mar 2018 11:58:54 +0000 (11:58 +0000)
commit50ee106137f2947958b2931de853010582e9d719
tree90081b1b2f93c64fa04e5fd1c79aee34b406000a
parent9eef6a5c3b0bf90eb292d462ea267bcb6ad1c334
PCI: endpoint: Remove goto labels in pci_epf_create()

Remove the pci_epf_create() goto labels completely and handle the
errors at the respective call site to simplify the function error
handling.

Signed-off-by: Rolf Evers-Fischer <rolf.evers.fischer@aptiv.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/endpoint/pci-epf-core.c