diff options
author | 2024-10-04 18:22:40 +0300 | |
---|---|---|
committer | 2024-10-04 17:02:00 -0500 | |
commit | 3ca258994b32c486b0ed59307ec31ee413524598 (patch) | |
tree | ad08710b0cfb66bc080a7a032dde0675d33b190a /scripts/generate_rust_analyzer.py | |
parent | PCI: Fix reset_method_store() memory leak (diff) | |
download | wireguard-linux-3ca258994b32c486b0ed59307ec31ee413524598.tar.xz wireguard-linux-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/20241004152240.7926-1-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions