diff options
| author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2024-12-16 20:56:21 +0300 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-02-19 00:40:53 +0300 |
| commit | acba174d2e754346c07578ad2220258706a203e2 (patch) | |
| tree | 2ef2ad07b5d86b49814c0cd2c81e9d4b0efc0814 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 0aa089cdde945d19ab2e51a8e60a129e9944d312 (diff) | |
| download | linux-acba174d2e754346c07578ad2220258706a203e2.tar.xz | |
PCI: Use while loop and break instead of gotos
pci_assign_unassigned_root_bus_resources() and
pci_assign_unassigned_bridge_resources() contain ad hoc loops using
backwards goto and gotos out of the loop. Replace them with while loops
and break statements.
While reindenting the loop bodies, add braces & remove parenthesis.
Link: https://lore.kernel.org/r/20241216175632.4175-15-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Xiaochun Lee <lixc17@lenovo.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
