diff options
author | Li zeming <zeming@nfschina.com> | 2023-11-13 09:22:02 +0800 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-11-27 22:01:14 +1100 |
commit | 84ba5d3675e23e6fa824a2268c5b6a04b52dde4d (patch) | |
tree | b5cc32e236427a93b4e2a284e5a305472a50e505 | |
parent | 82d30723d58fccbd2d7d707fab7649b541fafa1b (diff) | |
download | linux-84ba5d3675e23e6fa824a2268c5b6a04b52dde4d.tar.gz linux-84ba5d3675e23e6fa824a2268c5b6a04b52dde4d.tar.bz2 linux-84ba5d3675e23e6fa824a2268c5b6a04b52dde4d.zip |
misc: ocxl: afu_irq: Remove unnecessary (void*) conversions
The irq pointer does not need to cast the type.
Signed-off-by: Li zeming <zeming@nfschina.com>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com>
Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231113012202.7887-1-zeming@nfschina.com
-rw-r--r-- | drivers/misc/ocxl/afu_irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/ocxl/afu_irq.c b/drivers/misc/ocxl/afu_irq.c index a06920b7e049..36f7379b8e2d 100644 --- a/drivers/misc/ocxl/afu_irq.c +++ b/drivers/misc/ocxl/afu_irq.c @@ -57,7 +57,7 @@ EXPORT_SYMBOL_GPL(ocxl_irq_set_handler); static irqreturn_t afu_irq_handler(int virq, void *data) { - struct afu_irq *irq = (struct afu_irq *) data; + struct afu_irq *irq = data; trace_ocxl_afu_irq_receive(virq); |