Skip to contentSkip to conversation

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

PATCH Applied [email protected] 3 participants 3 messages May 16, 2024 – Jun 11, 2024 dmaengine

lore
Share & tools
lore
#0 lore raw

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

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

Remove unused struct 'moxart_filter_data'

---
 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
Reviewed-by on v2 1/1
#1 lore raw
Quoted 4 lines · On Thu, May 16, 2024 at 04:28:25PM +0100, [email protected] wrote:

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

Remove unused struct 'moxart_filter_data'

nit: need "." after sentence.

Quoted 24 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