diff options
author | Ilpo Järvinen <[email protected]> | 2024-10-04 18:22:40 +0300 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2024-10-04 17:02:00 -0500 |
commit | 3ca258994b32c486b0ed59307ec31ee413524598 (patch) | |
tree | ad08710b0cfb66bc080a7a032dde0675d33b190a /drivers/pci/controller/dwc/pcie-qcom-ep.c | |
parent | 2985b1844f3f3447f2d938eff1ef6762592065a5 (diff) |
PCI: Simplify pci_create_slot() logic
Simplify pci_create_slot() by splitting an "if" statement into two parts.
In order to not duplicate error handling, add a new label to handle kobj
put.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-ep.c')
0 files changed, 0 insertions, 0 deletions