2024-05-16 15:29:25

by Dr. David Alan Gilbert

[permalink] [raw]
Subject: [PATCH v2] dmaengine: moxart-dma: remove unused struct 'moxart_filter_data'

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

Remove unused struct 'moxart_filter_data'

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
---
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



2024-05-20 16:21:37

by Frank Li

[permalink] [raw]
Subject: Re: [PATCH v2] dmaengine: moxart-dma: remove unused struct 'moxart_filter_data'

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.

Reviewed-by: Frank Li <[email protected]>


> Signed-off-by: Dr. David Alan Gilbert <[email protected]>
> ---
> 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
>

2024-06-11 18:32:01

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH v2] dmaengine: moxart-dma: remove unused struct 'moxart_filter_data'


On Thu, 16 May 2024 16:28:25 +0100, [email protected] wrote:
> Remove unused struct 'moxart_filter_data'
>
>

Applied, thanks!

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

Best regards,
--
Vinod Koul <[email protected]>