[PATCH] ARM: riscpc: Code cleanup for parse_tag_acorn

Kunwu Chan chentao at kylinos.cn
Thu Jan 25 00:18:56 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/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




More information about the linux-arm-kernel mailing list