diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-10-21 16:34:32 +0300 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2024-10-22 11:34:07 +0300 |
commit | acf1b04c6890aef9bb356195221e75ce3862f84e (patch) | |
tree | a369f44a858023e5b8e7f0fc8fb5f8590eaec109 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ce44b96261a6af318a9e28a16f0d9749e89179a6 (diff) |
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions