Skip to contentSkip to conversation

dmaengine: moxart-dma: remove unused struct 'moxart_filter_data'

PATCH Superseded [email protected] 2 participants 3 messages May 16, 2024 dmaengine

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dmaengine: moxart-dma: remove unused struct 'moxart_filter_data'

From: "Dr. David Alan Gilbert" <[email protected]>

'moxart_filter_data' never appears to have been used. Remove it.

---
 drivers/dma/moxart-dma.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/dma/moxart-dma.c +0 -5
index c48d68cbff92..66dc6d31b603 100644
@@ -148,11 +148,6 @@ struct moxart_dmadev {
 	unsigned int			irq;
 };
 
-struct moxart_filter_data {
-	struct moxart_dmadev		*mdc;
-	struct of_phandle_args		*dma_spec;
-};
-
 static const unsigned int es_bytes[] = {
 	[MOXART_DMA_DATA_TYPE_S8] = 1,
 	[MOXART_DMA_DATA_TYPE_S16] = 2,
Signature · 1 line
2.45.0
#1 lore raw
Quoted 4 lines · On Thu, May 16, 2024 at 02:32:50PM +0100, [email protected] wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

'moxart_filter_data' never appears to have been used. Remove it.

You can duplicate subject.

Remove unused struct moxart_filter_data.

Quoted 25 lines
---
 drivers/dma/moxart-dma.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/dma/moxart-dma.c +0 -5
index c48d68cbff92..66dc6d31b603 100644
@@ -148,11 +148,6 @@ struct moxart_dmadev {
 	unsigned int			irq;
 };
 
-struct moxart_filter_data {
-	struct moxart_dmadev		*mdc;
-	struct of_phandle_args		*dma_spec;
-};
-
 static const unsigned int es_bytes[] = {
 	[MOXART_DMA_DATA_TYPE_S8] = 1,
 	[MOXART_DMA_DATA_TYPE_S16] = 2,
Signature · 1 line
2.45.0
#2 lore raw
Quoted 9 lines · * Frank Li ([email protected]) wrote:
Quoted 4 lines · On Thu, May 16, 2024 at 02:32:50PM +0100, [email protected] wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

'moxart_filter_data' never appears to have been used. Remove it.

You can duplicate subject.

Remove unused struct moxart_filter_data.

V2 sent.

Dave

Quoted 26 lines
Quoted 25 lines
---
 drivers/dma/moxart-dma.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/dma/moxart-dma.c +0 -5
index c48d68cbff92..66dc6d31b603 100644
@@ -148,11 +148,6 @@ struct moxart_dmadev {
 	unsigned int			irq;
 };
 
-struct moxart_filter_data {
-	struct moxart_dmadev		*mdc;
-	struct of_phandle_args		*dma_spec;
-};
-
 static const unsigned int es_bytes[] = {
 	[MOXART_DMA_DATA_TYPE_S8] = 1,
 	[MOXART_DMA_DATA_TYPE_S16] = 2,
Signature · 1 line
2.45.0
Signature · 4 lines
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/