[PATCH] ARM: riscpc: dma: code cleanup
From: Kunwu Chan
Date: Thu Jan 25 2024 - 03:10:03 EST
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@xxxxxxxxxx>
---
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