[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20230110101613.4519-1-xupengfei@nfschina.com>
Date: Tue, 10 Jan 2023 18:16:14 +0800
From: XU pengfei <xupengfei@...china.com>
To: siglesias@...lia.com, jens.taprogge@...rogge.org,
gregkh@...uxfoundation.org, andy.shevchenko@...il.com,
ilpo.jarvinen@...ux.intel.com
Cc: industrypack-devel@...ts.sourceforge.net,
linux-kernel@...r.kernel.org, XU pengfei <xupengfei@...china.com>
Subject: [PATCH 1/1] ipack: ipoctal: remove unnecessary (void*) conversions
arg is a void * type and does not require a cast.
Signed-off-by: XU pengfei <xupengfei@...china.com>
---
drivers/ipack/devices/ipoctal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ipack/devices/ipoctal.c b/drivers/ipack/devices/ipoctal.c
index fc00274070b6..39f0852e5ca7 100644
--- a/drivers/ipack/devices/ipoctal.c
+++ b/drivers/ipack/devices/ipoctal.c
@@ -253,7 +253,7 @@ static void ipoctal_irq_channel(struct ipoctal_channel *channel)
static irqreturn_t ipoctal_irq_handler(void *arg)
{
unsigned int i;
- struct ipoctal *ipoctal = (struct ipoctal *) arg;
+ struct ipoctal *ipoctal = arg;
/* Clear the IPack device interrupt */
readw(ipoctal->int_space + ACK_INT_REQ0);
--
2.18.2
Powered by blists - more mailing lists