diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-11-29 14:48:22 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-12-06 21:14:34 +0100 |
commit | 3f3a2599374ede5ac47ca89981ff8dd8f304d915 (patch) | |
tree | 9e3775ce29842923340400f8f64ffdee9cd359ed /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 392829ede37f36efa2e0f034631594786a9c8139 (diff) |
ACPI: OSL: Rearrange workqueue selection in acpi_os_execute()
Replace the 3-branch if () statement used for selecting the target
workqueue in acpi_os_execute() with a switch () one that is more
suitable for this purpose and carry out the work item initialization
before it to avoid code duplication.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions