diff options
author | 2024-10-21 16:34:32 +0300 | |
---|---|---|
committer | 2024-10-22 11:34:07 +0300 | |
commit | acf1b04c6890aef9bb356195221e75ce3862f84e (patch) | |
tree | a369f44a858023e5b8e7f0fc8fb5f8590eaec109 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | platform/x86: intel_scu_ipc: Simplify code with cleanup helpers (diff) | |
download | linux-rng-acf1b04c6890aef9bb356195221e75ce3862f84e.tar.xz linux-rng-acf1b04c6890aef9bb356195221e75ce3862f84e.zip |
platform/x86: intel_scu_ipc: Convert to check for errors first
Convert to use usual pattern, i.e. check for errors first. This makes
code less indented and easier to read after all.
Tested-by: Ferry Toth <fntoth@gmail.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20241021133705.2933464-5-andriy.shevchenko@linux.intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions