[PATCH] ARM: riscpc: Code cleanup for parse_tag_acorn

Kunwu Chan posted 1 patch 1 year, 11 months ago
arch/arm/mach-rpc/riscpc.c | 6 ------
1 file changed, 6 deletions(-)
[PATCH] ARM: riscpc: Code cleanup for parse_tag_acorn
Posted by Kunwu Chan 1 year, 11 months ago
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/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