diff options
author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2024-10-17 17:11:10 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2024-10-18 13:35:33 -0500 |
commit | 32ec7b362d904c1e67f8e64524fb0b6c43d5c9c2 (patch) | |
tree | 42e7d5c6e201012597f9884b357ed1b4caebed42 /tools/perf/scripts/python | |
parent | 469c9cb941480718db52876bbdb95a7a79b34889 (diff) |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions