From 50460aaca95805415db99b78b8d13bd80f4d5258 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Thu, 16 Jul 2015 15:36:41 +0200 Subject: [PATCH] am33xx: Unused get_board_rev function removal All am33xx device tree are using device-tree, so get_board_rev is never actually called. Thus, we can get rid of it to make the code easier to maintain. Signed-off-by: Paul Kocialkowski Reviewed-by: Tom Rini --- arch/arm/cpu/armv7/am33xx/sys_info.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/arch/arm/cpu/armv7/am33xx/sys_info.c b/arch/arm/cpu/armv7/am33xx/sys_info.c index 9d18aaac44..085c6735d1 100644 --- a/arch/arm/cpu/armv7/am33xx/sys_info.c +++ b/arch/arm/cpu/armv7/am33xx/sys_info.c @@ -50,15 +50,6 @@ u32 get_cpu_type(void) return partnum; } -/** - * get_board_rev() - setup to pass kernel board revision information - * returns: 0 for the ATAG REVISION tag value. - */ -u32 __weak get_board_rev(void) -{ - return 0; -} - /** * get_device_type(): tell if GP/HS/EMU/TST */ -- 2.39.2