]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9f4303a5785d45cb0561c545f6317d9403a4fe75
tree90081b1b2f93c64fa04e5fd1c79aee34b406000a
parent4319df731f81c552cf94817e1351a4d5dafa5903
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