[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240125080939.530750-1-chentao@kylinos.cn>
Date: Thu, 25 Jan 2024 16:09:39 +0800
From: Kunwu Chan <chentao@...inos.cn>
To: linux@...linux.org.uk
Cc: linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Kunwu Chan <chentao@...inos.cn>
Subject: [PATCH] ARM: riscpc: dma: code cleanup
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@...inos.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
Powered by blists - more mailing lists