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>
This commit is contained in:
XU pengfei 2023-01-10 18:16:14 +08:00 committed by Greg Kroah-Hartman
parent 512ba04d82
commit c6e29fe5e0

View File

@ -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);