ACPI: OSL: Rework error handling in acpi_os_execute()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 29 Nov 2023 13:46:51 +0000 (14:46 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 6 Dec 2023 20:14:33 +0000 (21:14 +0100)
commit392829ede37f36efa2e0f034631594786a9c8139
treebc99a72c3391d05802c90a36e8c93b856d8c8720
parent7a36b901a6eb0e9945341db71ed3c45c7721cfa9
ACPI: OSL: Rework error handling in acpi_os_execute()

Reduce the number of checks and goto labels related to error handling
in acpi_os_execute() and drop the status local variable, which turns
out to be redundant, from it.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/acpi/osl.c