Skip to contentSkip to conversation

ARM: omap1: Remove unused struct 'dma_link_info'

PATCH Applied [email protected] 3 participants 4 messages May 5, 2024 – Jul 9, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: omap1: Remove unused struct 'dma_link_info'

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

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")

---
 arch/arm/mach-omap1/omap-dma.c | 13 -------------
 1 file changed, 13 deletions(-)
arch/arm/mach-omap1/omap-dma.c +0 -13
index 9ee472f8ead12..f091f78631d09 100644
@@ -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;
Signature · 1 line
2.45.0
#1 lore raw
Quoted 10 lines · * [email protected] ([email protected]) wrote:

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

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")

Ping

Quoted 31 lines
---
 arch/arm/mach-omap1/omap-dma.c | 13 -------------
 1 file changed, 13 deletions(-)
arch/arm/mach-omap1/omap-dma.c +0 -13
index 9ee472f8ead12..f091f78631d09 100644
@@ -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;
Signature · 1 line
2.45.0
Signature · 4 lines
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/
maintainer Acked-by on v1 1/1
#2 lore raw
In reply to [email protected]

Hi,

Quoted 10 lines · On Sun, May 05, 2024 at 09:22:14PM +0100, [email protected] wrote:

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

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")

Quoted 31 lines
---
 arch/arm/mach-omap1/omap-dma.c | 13 -------------
 1 file changed, 13 deletions(-)
arch/arm/mach-omap1/omap-dma.c +0 -13
index 9ee472f8ead12..f091f78631d09 100644
@@ -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;
Signature · 1 line
2.45.0
Applied
#3 lore raw
In reply to [email protected]
Quoted 8 lines · On Sun, 05 May 2024 21:22:14 +0100, [email protected] wrote:

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")

[...]

Applied, thanks!

[1/1] ARM: omap1: Remove unused struct 'dma_link_info'

      commit: f6e6e2e8f6440ca2f91685f57b5bcd3dbac1f135

Best regards,

Signature · 1 line
Kevin Hilman <[email protected]>