[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3eee9fb5-0561-4dae-93e8-8f4b742863a0@huawei.com>
Date: Mon, 22 Sep 2025 09:17:48 +0800
From: "lihuisong (C)" <lihuisong@...wei.com>
To: "Rafael J. Wysocki" <rafael@...nel.org>, Linux ACPI
<linux-acpi@...r.kernel.org>
CC: LKML <linux-kernel@...r.kernel.org>, Linux PM <linux-pm@...r.kernel.org>,
Mario Limonciello <mario.limonciello@....com>, "Shenoy, Gautham Ranjal"
<gautham.shenoy@....com>
Subject: Re: [PATCH v1 2/2] ACPI: processor: idle: Redefine two functions as
void
在 2025/9/19 5:10, Rafael J. Wysocki 写道:
> From: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
>
> Notice that acpi_processor_power_init() and acpi_processor_power_exit()
> don't need to return any values because their callers don't check them
> anyway, so redefine those functions as void.
>
> While at it, rearrange the code in acpi_processor_power_init() to
> reduce the indentation level, get rid of a redundant local variable
> in that function, and rephrase a code comment in it.
>
> No intentional functional impact.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
LGTM,
Acked-by: lihuisong@...wei.com
>
>
>
Powered by blists - more mailing lists