Skip to contentSkip to conversation

Remove unused functions

PATCH New Shenlin Liang 1 participant 1 message Jul 28, 2023 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove unused functions

Function board_switch_core_volt has not been used since it was defined

---
 arch/arm/cpu/armv8/fsl-layerscape/soc.c | 5 -----
 1 file changed, 5 deletions(-)
arch/arm/cpu/armv8/fsl-layerscape/soc.c +0 -5
index 359cbc0430..aa6183c87a 100644
@@ -575,11 +575,6 @@ int get_core_volt_from_fuse(void)
 	return vdd;
 }
 
-__weak int board_switch_core_volt(u32 vdd)
-{
-	return 0;
-}
-
 static int setup_core_volt(u32 vdd)
 {
 	return board_setup_core_volt(vdd);
Signature · 1 line
2.31.1.windows.1