aboutsummaryrefslogtreecommitdiffstatshomepage
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
parentmisc/mei/hdcp: Use correct macros to initialize uuid_le (diff)
downloadwireguard-linux-c6e29fe5e08ce177b8a1a77aa99c59da2f166044.tar.xz
wireguard-linux-c6e29fe5e08ce177b8a1a77aa99c59da2f166044.zip
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>
-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);