[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220809022122.3419-1-zeming@nfschina.com>
Date: Tue, 9 Aug 2022 10:21:22 +0800
From: Li zeming <zeming@...china.com>
To: daniel.lezcano@...aro.org, tglx@...utronix.de, orsonzhai@...il.com,
baolin.wang@...ux.alibaba.com, zhang.lyra@...il.com
Cc: linux-kernel@...r.kernel.org, Li zeming <zeming@...china.com>
Subject: [PATCH] clocksource: Remove unnecessary (void*) conversions
Remove unnecessary void* type castings.
Signed-off-by: Li zeming <zeming@...china.com>
---
drivers/clocksource/timer-sprd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clocksource/timer-sprd.c b/drivers/clocksource/timer-sprd.c
index 430cb99d8d79..9b97fd87fbe9 100644
--- a/drivers/clocksource/timer-sprd.c
+++ b/drivers/clocksource/timer-sprd.c
@@ -109,7 +109,7 @@ static int sprd_timer_shutdown(struct clock_event_device *ce)
static irqreturn_t sprd_timer_interrupt(int irq, void *dev_id)
{
- struct clock_event_device *ce = (struct clock_event_device *)dev_id;
+ struct clock_event_device *ce = dev_id;
struct timer_of *to = to_timer_of(ce);
sprd_timer_clear_interrupt(timer_of_base(to));
--
2.18.2
Powered by blists - more mailing lists