* [PATCH RESEND] dmaengine: idxd: Remove unused struct idxd_fault
@ 2022-09-28 1:47 Yuan Can
2022-09-29 7:42 ` Vinod Koul
0 siblings, 1 reply; 2+ messages in thread
From: Yuan Can @ 2022-09-28 1:47 UTC (permalink / raw)
To: fenghua.yu, dave.jiang, vkoul, dmaengine; +Cc: yuancan
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")
Signed-off-by: Yuan Can <yuancan@huawei.com>
---
drivers/dma/idxd/irq.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/dma/idxd/irq.c b/drivers/dma/idxd/irq.c
index 5b9921475be6..6dc299182933 100644
--- a/drivers/dma/idxd/irq.c
+++ b/drivers/dma/idxd/irq.c
@@ -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;
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH RESEND] dmaengine: idxd: Remove unused struct idxd_fault
2022-09-28 1:47 [PATCH RESEND] dmaengine: idxd: Remove unused struct idxd_fault Yuan Can
@ 2022-09-29 7:42 ` Vinod Koul
0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2022-09-29 7:42 UTC (permalink / raw)
To: Yuan Can; +Cc: fenghua.yu, dave.jiang, dmaengine
On 28-09-22, 01:47, Yuan Can wrote:
> 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
> 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
--
~Vinod
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-29 7:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-28 1:47 [PATCH RESEND] dmaengine: idxd: Remove unused struct idxd_fault Yuan Can
2022-09-29 7:42 ` Vinod Koul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox