[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJZ5v0iFW4OxhWrPiBOvg7AneEuey27sFKYH_XEWSbA+qNppDg@mail.gmail.com>
Date: Tue, 23 Aug 2022 19:15:01 +0200
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Li zeming <zeming@...china.com>
Cc: Robert Moore <robert.moore@...el.com>,
Rafael Wysocki <rafael.j.wysocki@...el.com>,
Len Brown <lenb@...nel.org>,
ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
"open list:ACPI COMPONENT ARCHITECTURE (ACPICA)" <devel@...ica.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] power/acpi: Remove unnecessary return in acpi_os_** function;
On Mon, Aug 22, 2022 at 11:16 AM Li zeming <zeming@...china.com> wrote:
>
> Remove the return in the function; it looks clearer.
>
> Signed-off-by: Li zeming <zeming@...china.com>
This is ACPICA code, so please submit changes against it to the
upstream ACPICA project on GitHub. Thanks!
> ---
> 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