aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-plat.c
diff options
context:
space:
mode:
authorIlpo Järvinen <[email protected]>2024-10-04 15:22:40 +0000
committerBjorn Helgaas <[email protected]>2024-10-04 22:02:00 +0000
commit3ca258994b32c486b0ed59307ec31ee413524598 (patch)
treead08710b0cfb66bc080a7a032dde0675d33b190a /drivers/usb/cdns3/cdns3-plat.c
parentPCI: Fix reset_method_store() memory leak (diff)
downloadkernel-3ca258994b32c486b0ed59307ec31ee413524598.tar.gz
kernel-3ca258994b32c486b0ed59307ec31ee413524598.zip
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/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions