[PATCH] ARM: riscpc: dma: code cleanup

Kunwu Chan posted 1 patch 1 year, 11 months ago
arch/arm/mach-rpc/dma.c | 9 ---------
1 file changed, 9 deletions(-)
[PATCH] ARM: riscpc: dma: code cleanup
Posted by Kunwu Chan 1 year, 11 months ago
This part was commented in about 19 years before.
If there are no plans to enable this part code in the future,
we can remove this dead code.

Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
---
 arch/arm/mach-rpc/dma.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/arch/arm/mach-rpc/dma.c b/arch/arm/mach-rpc/dma.c
index 50e0f97afd75..caed10f5b394 100644
--- a/arch/arm/mach-rpc/dma.c
+++ b/arch/arm/mach-rpc/dma.c
@@ -33,15 +33,6 @@ struct iomd_dma {
 	unsigned int		dma_len;
 };
 
-#if 0
-typedef enum {
-	dma_size_8	= 1,
-	dma_size_16	= 2,
-	dma_size_32	= 4,
-	dma_size_128	= 16
-} dma_size_t;
-#endif
-
 #define TRANSFER_SIZE	2
 
 #define CURA	(0)
-- 
2.39.2