diff options
author | XU pengfei <xupengfei@nfschina.com> | 2023-01-10 13:16:14 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-20 15:07:43 +0300 |
commit | c6e29fe5e08ce177b8a1a77aa99c59da2f166044 (patch) | |
tree | de759270303422341420338d6f31893924e8c5d7 /drivers/ipack | |
parent | 512ba04d8211dd1a54dd36adc3ecc527a28069c5 (diff) | |
download | linux-c6e29fe5e08ce177b8a1a77aa99c59da2f166044.tar.xz |
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.c | 2 |
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); |