summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-04-26 17:40:39 +0300
committerBjorn Helgaas <bhelgaas@google.com>2024-04-27 01:04:20 +0300
commit0ba5cd94bbc2d21ffb392b6a3b23ee288b4778d5 (patch)
tree5d7786ff606c1419d24565036be968bb78f4a5e4 /tools/perf/scripts/python/export-to-sqlite.py
parent4cece764965020c22cff7665b18a012006359095 (diff)
downloadlinux-0ba5cd94bbc2d21ffb392b6a3b23ee288b4778d5.tar.xz
PCI/MSI: Make error path handling follow the standard pattern
Make error path handling follow the standard pattern, i.e. checking for errors first. This makes code much easier to read and understand despite being a bit longer. Link: https://lore.kernel.org/r/20240426144039.557907-1-andriy.shevchenko@linux.intel.com Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions