lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220822091416.6177-1-zeming@nfschina.com>
Date:   Mon, 22 Aug 2022 17:14:16 +0800
From:   Li zeming <zeming@...china.com>
To:     robert.moore@...el.com, rafael.j.wysocki@...el.com, lenb@...nel.org
Cc:     linux-acpi@...r.kernel.org, devel@...ica.org,
        linux-kernel@...r.kernel.org, Li zeming <zeming@...china.com>
Subject: [PATCH] power/acpi: Remove unnecessary return in acpi_os_** function;

Remove the return in the function; it looks clearer.

Signed-off-by: Li zeming <zeming@...china.com>
---
 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ