[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20220809023550.8624-1-xupengfei@nfschina.com>
Date: Tue, 9 Aug 2022 10:35:50 +0800
From: XU pengfei <xupengfei@...china.com>
To: verdun@....com, nick.hawkins@....com, daniel.lezcano@...aro.org,
tglx@...utronix.de
Cc: linux-kernel@...r.kernel.org, XU pengfei <xupengfei@...china.com>
Subject: [PATCH 1/1] clocksource/drivers/timer-gxp: remove unnecessary (void*) conversions
remove unnecessary void* type casting.
Signed-off-by: XU pengfei <xupengfei@...china.com>
---
drivers/clocksource/timer-gxp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clocksource/timer-gxp.c b/drivers/clocksource/timer-gxp.c
index 8b38b3212388..c33c71c4425b 100644
--- a/drivers/clocksource/timer-gxp.c
+++ b/drivers/clocksource/timer-gxp.c
@@ -56,7 +56,7 @@ static int gxp_time_set_next_event(unsigned long event, struct clock_event_devic
static irqreturn_t gxp_timer_interrupt(int irq, void *dev_id)
{
- struct gxp_timer *timer = (struct gxp_timer *)dev_id;
+ struct gxp_timer *timer = dev_id;
if (!(readb_relaxed(timer->control) & MASK_TCS_TC))
return IRQ_NONE;
--
2.18.2
Powered by blists - more mailing lists