diff mbox series

ARM: riscpc: dma: code cleanup

Message ID 20240125080939.530750-1-chentao@kylinos.cn (mailing list archive)
State New, archived
Headers show
Series ARM: riscpc: dma: code cleanup | expand

Commit Message

Kunwu Chan Jan. 25, 2024, 8:09 a.m. UTC
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 mbox series

Patch

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)