mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
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:
parent
512ba04d82
commit
c6e29fe5e0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user