[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240125081856.531595-1-chentao@kylinos.cn>
Date: Thu, 25 Jan 2024 16:18:56 +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: Code cleanup for parse_tag_acorn
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/riscpc.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/arch/arm/mach-rpc/riscpc.c b/arch/arm/mach-rpc/riscpc.c
index f70fb9c4b0cb..947c88950518 100644
--- a/arch/arm/mach-rpc/riscpc.c
+++ b/arch/arm/mach-rpc/riscpc.c
@@ -53,12 +53,6 @@ static int __init parse_tag_acorn(const struct tag *tag)
default:
break;
}
-#if 0
- if (vram_size) {
- desc->video_start = 0x02000000;
- desc->video_end = 0x02000000 + vram_size;
- }
-#endif
return 0;
}
--
2.39.2
Powered by blists - more mailing lists