[PATCH 1/1] clocksource/drivers/ingenic: remove unnecessary (void*) conversions

From: XU pengfei
Date: Mon Aug 08 2022 - 22:21:58 EST


remove unnecessary void* type casting.

Signed-off-by: XU pengfei <xupengfei@xxxxxxxxxxxx>
---
drivers/clocksource/ingenic-timer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clocksource/ingenic-timer.c b/drivers/clocksource/ingenic-timer.c
index 24ed0f1f089b..1ee4a8ced8d4 100644
--- a/drivers/clocksource/ingenic-timer.c
+++ b/drivers/clocksource/ingenic-timer.c
@@ -104,7 +104,7 @@ static int ingenic_tcu_cevt_set_next(unsigned long next,

static void ingenic_per_cpu_event_handler(void *info)
{
- struct clock_event_device *cevt = (struct clock_event_device *) info;
+ struct clock_event_device *cevt = info;

cevt->event_handler(cevt);
}
--
2.18.2