Commit c6e29fe5 authored by XU pengfei's avatar XU pengfei Committed by Greg Kroah-Hartman

ipack: ipoctal: remove unnecessary (void*) conversions

arg is a void * type and does not require a cast.
Signed-off-by: default avatarXU pengfei <xupengfei@nfschina.com>
Link: https://lore.kernel.org/r/20230110101613.4519-1-xupengfei@nfschina.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 512ba04d
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment