diff mbox series

ARM: omap1: Remove unused struct 'dma_link_info'

Message ID 20240505202214.623612-1-linux@treblig.org (mailing list archive)
State New
Headers show
Series ARM: omap1: Remove unused struct 'dma_link_info' | expand

Commit Message

Dr. David Alan Gilbert May 5, 2024, 8:22 p.m. UTC
From: "Dr. David Alan Gilbert" <linux@treblig.org>

I think the last use of this was removed somewhere
around the two:
Commit 755cbfd8cf89 ("ARM: OMAP2+: Drop sdma interrupt handling for
mach-omap2")
and
Commit 16630718ee46 ("ARM: omap1: move plat/dma.c to mach/omap-dma.c")

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 arch/arm/mach-omap1/omap-dma.c | 13 -------------
 1 file changed, 13 deletions(-)

Comments

Dr. David Alan Gilbert June 3, 2024, 5:34 p.m. UTC | #1
* linux@treblig.org (linux@treblig.org) wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> I think the last use of this was removed somewhere
> around the two:
> Commit 755cbfd8cf89 ("ARM: OMAP2+: Drop sdma interrupt handling for
> mach-omap2")
> and
> Commit 16630718ee46 ("ARM: omap1: move plat/dma.c to mach/omap-dma.c")
> 
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>

Ping

> ---
>  arch/arm/mach-omap1/omap-dma.c | 13 -------------
>  1 file changed, 13 deletions(-)
> 
> diff --git a/arch/arm/mach-omap1/omap-dma.c b/arch/arm/mach-omap1/omap-dma.c
> index 9ee472f8ead12..f091f78631d09 100644
> --- a/arch/arm/mach-omap1/omap-dma.c
> +++ b/arch/arm/mach-omap1/omap-dma.c
> @@ -59,19 +59,6 @@ static struct omap_dma_dev_attr *d;
>  static int enable_1510_mode;
>  static u32 errata;
>  
> -struct dma_link_info {
> -	int *linked_dmach_q;
> -	int no_of_lchs_linked;
> -
> -	int q_count;
> -	int q_tail;
> -	int q_head;
> -
> -	int chain_state;
> -	int chain_mode;
> -
> -};
> -
>  static int dma_lch_count;
>  static int dma_chan_count;
>  static int omap_dma_reserve_channels;
> -- 
> 2.45.0
>
Aaro Koskinen June 6, 2024, 8:04 p.m. UTC | #2
Hi,

On Sun, May 05, 2024 at 09:22:14PM +0100, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> I think the last use of this was removed somewhere
> around the two:
> Commit 755cbfd8cf89 ("ARM: OMAP2+: Drop sdma interrupt handling for
> mach-omap2")
> and
> Commit 16630718ee46 ("ARM: omap1: move plat/dma.c to mach/omap-dma.c")
> 
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>

Acked-by: Aaro Koskinen <aaro.koskinen@iki.fi>

> ---
>  arch/arm/mach-omap1/omap-dma.c | 13 -------------
>  1 file changed, 13 deletions(-)
> 
> diff --git a/arch/arm/mach-omap1/omap-dma.c b/arch/arm/mach-omap1/omap-dma.c
> index 9ee472f8ead12..f091f78631d09 100644
> --- a/arch/arm/mach-omap1/omap-dma.c
> +++ b/arch/arm/mach-omap1/omap-dma.c
> @@ -59,19 +59,6 @@ static struct omap_dma_dev_attr *d;
>  static int enable_1510_mode;
>  static u32 errata;
>  
> -struct dma_link_info {
> -	int *linked_dmach_q;
> -	int no_of_lchs_linked;
> -
> -	int q_count;
> -	int q_tail;
> -	int q_head;
> -
> -	int chain_state;
> -	int chain_mode;
> -
> -};
> -
>  static int dma_lch_count;
>  static int dma_chan_count;
>  static int omap_dma_reserve_channels;
> -- 
> 2.45.0
>
diff mbox series

Patch

diff --git a/arch/arm/mach-omap1/omap-dma.c b/arch/arm/mach-omap1/omap-dma.c
index 9ee472f8ead12..f091f78631d09 100644
--- a/arch/arm/mach-omap1/omap-dma.c
+++ b/arch/arm/mach-omap1/omap-dma.c
@@ -59,19 +59,6 @@  static struct omap_dma_dev_attr *d;
 static int enable_1510_mode;
 static u32 errata;
 
-struct dma_link_info {
-	int *linked_dmach_q;
-	int no_of_lchs_linked;
-
-	int q_count;
-	int q_tail;
-	int q_head;
-
-	int chain_state;
-	int chain_mode;
-
-};
-
 static int dma_lch_count;
 static int dma_chan_count;
 static int omap_dma_reserve_channels;