diff mbox series

[v2] dmaengine: moxart-dma: remove unused struct 'moxart_filter_data'

Message ID 20240516152825.262578-1-linux@treblig.org (mailing list archive)
State Accepted
Commit d1c6524e3ebe6bc1d0110e9dd85c84006f2c3289
Headers show
Series [v2] dmaengine: moxart-dma: remove unused struct 'moxart_filter_data' | expand

Commit Message

Dr. David Alan Gilbert May 16, 2024, 3:28 p.m. UTC
From: "Dr. David Alan Gilbert" <linux@treblig.org>

Remove unused struct 'moxart_filter_data'

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 drivers/dma/moxart-dma.c | 5 -----
 1 file changed, 5 deletions(-)

Comments

Frank Li May 20, 2024, 4:21 p.m. UTC | #1
On Thu, May 16, 2024 at 04:28:25PM +0100, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> Remove unused struct 'moxart_filter_data'
> 
nit: need "." after sentence.

Reviewed-by: Frank Li <Frank.Li@nxp.com>


> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
> ---
>  drivers/dma/moxart-dma.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/drivers/dma/moxart-dma.c b/drivers/dma/moxart-dma.c
> index c48d68cbff92..66dc6d31b603 100644
> --- a/drivers/dma/moxart-dma.c
> +++ b/drivers/dma/moxart-dma.c
> @@ -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,
> -- 
> 2.45.0
>
Vinod Koul June 11, 2024, 6:28 p.m. UTC | #2
On Thu, 16 May 2024 16:28:25 +0100, linux@treblig.org wrote:
> Remove unused struct 'moxart_filter_data'
> 
> 

Applied, thanks!

[1/1] dmaengine: moxart-dma: remove unused struct 'moxart_filter_data'
      commit: d1c6524e3ebe6bc1d0110e9dd85c84006f2c3289

Best regards,
diff mbox series

Patch

diff --git a/drivers/dma/moxart-dma.c b/drivers/dma/moxart-dma.c
index c48d68cbff92..66dc6d31b603 100644
--- a/drivers/dma/moxart-dma.c
+++ b/drivers/dma/moxart-dma.c
@@ -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,