aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi zeming <[email protected]>2023-11-13 09:22:02 +0800
committerMichael Ellerman <[email protected]>2023-11-27 22:01:14 +1100
commit84ba5d3675e23e6fa824a2268c5b6a04b52dde4d (patch)
treeb5cc32e236427a93b4e2a284e5a305472a50e505
parent82d30723d58fccbd2d7d707fab7649b541fafa1b (diff)
misc: ocxl: afu_irq: Remove unnecessary (void*) conversions
The irq pointer does not need to cast the type. Signed-off-by: Li zeming <[email protected]> Acked-by: Andrew Donnellan <[email protected]> Acked-by: Frederic Barrat <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
-rw-r--r--drivers/misc/ocxl/afu_irq.c2
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);