summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLi zeming <zeming@nfschina.com>2023-11-13 02:22:02 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-11-27 14:51:16 +0100
commit0e425d703c30cddea913e5cc73b2528fba628c90 (patch)
treef867ec279a9afeb2dee10eef4d0789dff3d1ae22 /drivers
parentmisc: ocxl: context: Remove unnecessary (void*) conversions (diff)
downloadlinux-0e425d703c30cddea913e5cc73b2528fba628c90.tar.xz
linux-0e425d703c30cddea913e5cc73b2528fba628c90.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: Frederic Barrat <fbarrat@linux.ibm.com> Acked-by: Andrew Donnellan <ajd@linux.ibm.com> Link: https://lore.kernel.org/r/20231113012202.7887-1-zeming@nfschina.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-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);