[PATCH] power/acpi: Remove unnecessary return in acpi_os_** function;

From: Li zeming
Date: Mon Aug 22 2022 - 05:17:25 EST


Remove the return in the function; it looks clearer.

Signed-off-by: Li zeming <zeming@xxxxxxxxxxxx>
---
tools/power/acpi/os_specific/service_layers/osunixxf.c | 3 ---
1 file changed, 3 deletions(-)

diff --git a/tools/power/acpi/os_specific/service_layers/osunixxf.c b/tools/power/acpi/os_specific/service_layers/osunixxf.c
index b3651a04d68c..127630c38f1a 100644
--- a/tools/power/acpi/os_specific/service_layers/osunixxf.c
+++ b/tools/power/acpi/os_specific/service_layers/osunixxf.c
@@ -510,8 +510,6 @@ void *acpi_os_map_memory(acpi_physical_address where, acpi_size length)

void acpi_os_unmap_memory(void *where, acpi_size length)
{
-
- return;
}
#endif

@@ -1313,5 +1311,4 @@ acpi_os_execute(acpi_execute_type type,

void acpi_os_wait_events_complete(void)
{
- return;
}
--
2.18.2