Skip to contentSkip to conversation

dmaengine: idxd: Remove unused struct idxd_fault

PATCH RESEND In review Yuan Can 2 participants 2 messages Sep 28, 2022 – Sep 29, 2022

Subsystems (2)
lore
Share & tools
lore

Yuan Can

author
#0 lore raw

PATCH RESEND 1/1 dmaengine: idxd: Remove unused struct idxd_fault

Since fault processing code has been removed, struct idxd_fault is not used any more and can be removed as well.

Fixes commit 0e96454ca26c ("dmaengine: idxd: remove fault processing code")
---
 drivers/dma/idxd/irq.c | 6 ------
 1 file changed, 6 deletions(-)
drivers/dma/idxd/irq.c +0 -6
index 5b9921475be6..6dc299182933 100644
@@ -17,12 +17,6 @@ enum irq_work_type {
 	IRQ_WORK_PROCESS_FAULT,
 };
 
-struct idxd_fault {
-	struct work_struct work;
-	u64 addr;
-	struct idxd_device *idxd;
-};
-
 struct idxd_resubmit {
 	struct work_struct work;
 	struct idxd_desc *desc;
Signature · 1 line
2.17.1
maintainer
#1 lore raw
Quoted 2 lines · Yuan Can

Since fault processing code has been removed, struct idxd_fault is not used any more and can be removed as well.

This should have been tagged v2... this is update over v1

Quoted 1 line
Fixes commit 0e96454ca26c ("dmaengine: idxd: remove fault processing code")

This is not a valid fix, it is an improvement so dropped

I have applied this

Signature · 1 line
~Vinod