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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 16, 2024 at 02:32:50PM +0100, linux@xxxxxxxxxxx wrote:
> From: "Dr. David Alan Gilbert" <linux@xxxxxxxxxxx>
> 
> 'moxart_filter_data' never appears to have been used.
> Remove it.

You can duplicate subject.

Remove unused struct moxart_filter_data.

> 
> Signed-off-by: Dr. David Alan Gilbert <linux@xxxxxxxxxxx>
> ---
>  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
> 




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux