summaryrefslogtreecommitdiff
path: root/drivers/ipack
diff options
context:
space:
mode:
authorXU pengfei <xupengfei@nfschina.com>2023-01-10 18:16:14 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-20 13:07:43 +0100
commitc6e29fe5e08ce177b8a1a77aa99c59da2f166044 (patch)
treede759270303422341420338d6f31893924e8c5d7 /drivers/ipack
parent512ba04d8211dd1a54dd36adc3ecc527a28069c5 (diff)
ipack: ipoctal: remove unnecessary (void*) conversions
arg is a void * type and does not require a cast. Signed-off-by: XU pengfei <xupengfei@nfschina.com> Link: https://lore.kernel.org/r/20230110101613.4519-1-xupengfei@nfschina.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ipack')
-rw-r--r--drivers/ipack/devices/ipoctal.c2
1 files changed, 1 insertions, 1 deletions
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);