ARM: riscpc: Code cleanup for parse_tag_acorn

Message ID 20240125081856.531595-1-chentao@kylinos.cn
State New
Headers
Series ARM: riscpc: Code cleanup for parse_tag_acorn |

Commit Message

Kunwu Chan Jan. 25, 2024, 8:18 a.m. UTC
  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(-)
  

Patch

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;
 }