All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] clocksource/drivers/ingenic: remove unnecessary (void*) conversions
@ 2022-08-09  2:21 XU pengfei
  0 siblings, 0 replies; only message in thread
From: XU pengfei @ 2022-08-09  2:21 UTC (permalink / raw)
  To: daniel.lezcano, tglx; +Cc: linux-kernel, XU pengfei

remove unnecessary void* type casting.

Signed-off-by: XU pengfei <xupengfei@nfschina.com>
---
 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-09  2:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-09  2:21 [PATCH 1/1] clocksource/drivers/ingenic: remove unnecessary (void*) conversions XU pengfei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.