[PATCH] ARM: riscpc: dma: code cleanup

Kunwu Chan chentao at kylinos.cn
Thu Jan 25 00:09:39 PST 2024


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 at 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




More information about the linux-arm-kernel mailing list