[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221223090215.8704-1-zhoujie@nfschina.com>
Date: Fri, 23 Dec 2022 17:02:15 +0800
From: Zhou jie <zhoujie@...china.com>
To: rafael@...nel.org, lenb@...nel.org
Cc: linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel.nfschina.com@...ts.nfsmail.com,
Zhou jie <zhoujie@...china.com>
Subject: [PATCH] drivers/acpi:remove unnecessary (void*) conversions
The void * type pointer does not need to be cast.
Signed-off-by: Zhou jie <zhoujie@...china.com>
---
drivers/acpi/processor_idle.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index 4556c86c3465..3be86d2f9098 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -150,7 +150,7 @@ static void lapic_timer_check_state(int state, struct acpi_processor *pr,
static void __lapic_timer_propagate_broadcast(void *arg)
{
- struct acpi_processor *pr = (struct acpi_processor *) arg;
+ struct acpi_processor *pr = arg;
if (pr->power.timer_broadcast_on_state < INT_MAX)
tick_broadcast_enable();
--
2.18.2
Powered by blists - more mailing lists