diff options
author | 2024-10-17 17:11:10 +0300 | |
---|---|---|
committer | 2024-10-18 13:35:33 -0500 | |
commit | 32ec7b362d904c1e67f8e64524fb0b6c43d5c9c2 (patch) | |
tree | 42e7d5c6e201012597f9884b357ed1b4caebed42 /scripts/lib/kdoc/kdoc_files.py | |
parent | PCI: Move struct pci_bus_resource into bus.c (diff) | |
download | wireguard-linux-32ec7b362d904c1e67f8e64524fb0b6c43d5c9c2.tar.xz wireguard-linux-32ec7b362d904c1e67f8e64524fb0b6c43d5c9c2.zip |
PCI: Simplify pci_read_bridge_bases() logic
Use reverse logic combined with return and continue to significantly
reduce indentation level in pci_read_bridge_bases().
Link: https://lore.kernel.org/r/20241017141111.44612-3-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions