diff mbox series

clocksource: Remove unnecessary (void*) conversions

Message ID 20220809021821.3266-1-zeming@nfschina.com (mailing list archive)
State New, archived
Headers show
Series clocksource: Remove unnecessary (void*) conversions | expand

Commit Message

Li zeming Aug. 9, 2022, 2:18 a.m. UTC
Remove unnecessary void* type castings.

Signed-off-by: Li zeming <zeming@nfschina.com>
---
 drivers/clocksource/timer-meson6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/clocksource/timer-meson6.c b/drivers/clocksource/timer-meson6.c
index 99f5510a2b56..83dcd167e204 100644
--- a/drivers/clocksource/timer-meson6.c
+++ b/drivers/clocksource/timer-meson6.c
@@ -143,7 +143,7 @@  static struct clock_event_device meson6_clockevent = {
 
 static irqreturn_t meson6_timer_interrupt(int irq, void *dev_id)
 {
-	struct clock_event_device *evt = (struct clock_event_device *)dev_id;
+	struct clock_event_device *evt = dev_id;
 
 	evt->event_handler(evt);